_xpos


Value Type

numeric

Description

Contains a robot's position in the arena along the X axis measured from the robot's center. Since robots have a width of 33 units this variable has a range of 16.5 to (_arenawidth - 16.5) inclusive.

For more information see the arena attributes topic

See Also

_ypos, _arenawidth, _arenaheight