playervar
The playervar subcommand, can be used in place of an argument in a normal command.



"playervar(player variable)"


Argument Function
player variable The built-in player variable to grab.



The playervar command grabs built-in variables used by the game, rather by the object scripting. The value you're grabbing must be specified.

Variable Function
x The player's x position.
y The player's y position.
hp The player's health. (Base health is 600)