tmGetWidth

Category: Tilemap — Maps

Syntax:

tmGetWidth:Int(map:Int)


Parameters

Returns

The width in tiles, or 0 for a bad handle.



Summary

Gets the width of a map.

See the Tilemaps guide.



Example
w = tmGetWidth(map)

BambooBasic © 2026 Michael Denathorn