Skip to content
Melonity Docs
Search
K
Main Navigation
Home
Menu
Return to top
On this page
GetLocalHeroIndex
Retrieves the index of the local hero.
GetLocalHeroIndex()
number
Returned:
number
- The index of the local hero. If local hero is not exists, -1 is returned.