GXMapColumns - boxgaming/gx GitHub Wiki

Returns the width of the map in tile columns.

Syntax

columns% = GXMapColumns

Examples

Example1: Return the number of columns in the loaded map.

GXMapLoad "map/warzone.gxm"
columns% = GXMapColumns

See Also

GXMapCreate GXMapLoad GXMapRows