EntityX()

语法

Result = EntityX(#Entity [, Mode])
概要
Returns the current position of the entity in the world.

参数

#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.

返回值

Returns the 'x' position of the entity.

参阅

EntityY(), EntityZ(), MoveEntity()

已支持操作系统

所有

<- EntityVelocity() - Entity Index - EntityY() ->