GXEntityY - boxgaming/gx GitHub Wiki

Returns the vertical (y) position of the specified entity.

Syntax

y% = GXEntityY (entityId%)

Parameters

  • Entity for which the y position will be returned is specified by the entityId% parameter. This id is returned by the GXEntityCreate function or can be accessed by its user id by the GX function.

Examples

Example1: Return the y position of the entity.

y% = GXEntityY(warhog)

See Also

GXEntityCreate GXEntityX GXEntityY GXEntityPos GXEntityMove GX