EntityX()
Syntax
Result = EntityX(#Entity [, Mode])Description
Returns the current position of the entity in the world.
Parameters
#Entity The entity to use. Mode (optional) The mode to get the 'x' position. It can be one of the following value: #PB_Absolute: get the absolute 'x' position of the entity in the world (default). #PB_Relative: get the 'x' position of the entity relative to its parent.
Return value
Returns the 'x' position of the entity.
See Also
EntityY(), EntityZ(), MoveEntity()
Supported OS
All