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