EntityY()

Syntax

Result = EntityY(#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 'y' position. It can be one of the following value:
  #PB_Absolute: get the absolute 'y' position of the entity in the world (default).
  #PB_Relative: get the 'y' position of the entity relative to its parent.

Return value

Returns the 'y' position of the entity.

See Also

EntityX(), EntityZ(), MoveEntity()

Supported OS

All

<- EntityX() - Entity Index - EntityYaw() ->