GetPlayerPos
Where this player stands.
Syntax
Section titled “Syntax”GetPlayerPos()Returns
Section titled “Returns”number, number, number - x, y, z in metres; nil before the player exists
Example
Section titled “Example”local x, y, z = GetPlayerPos()if x then print(string.format("I am at %.1f %.1f %.1f", x, y, z)) endSee also
Section titled “See also”GetLevelName · WorldToScreen · the The player, the level and the frame group of the index
