tmGetTileWidth

Category: Tilemap

Syntax:

tmGetTileWidth:Int(map:Int)


Parameters

Returns

Int



Summary

Gets the width of a map's grid cells.

Takes map (The map's handle).

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

View detailed documentation online



Example
tw = tmGetTileWidth(map)

BambooBasic © 2026 Michael Denathorn