GXEntityX - boxgaming/gx GitHub Wiki
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)