tmGetWidth

Category: Tilemap

Syntax:

tmGetWidth:Int(map:Int)


Parameters

Returns

Int



Summary

Gets the width of a map.

Takes map (The map's handle).

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

View detailed documentation online



Example
w = tmGetWidth(map)

BambooBasic © 2026 Michael Denathorn