GXEntityWidth - boxgaming/gx GitHub Wiki

Returns the width of the specified entity.

Syntax

height% = GXEntityWidth (entityId%)

Parameters

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

width% = GXEntityHeight(warhog)

See Also

GXEntityCreate GX