Skip to content

GXEntityX

boxgaming edited this page Dec 7, 2021 · 1 revision

Returns the horizontal (x) position of the specified entity.

Syntax

x% = GXEntityX (entityId%)

Parameters

  • Entity for which the x 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 x position of the entity.

x% = GXEntityX(warhog)

See Also

GXEntityCreate GX

Clone this wiki locally