Category: Tilemap
Syntax:
tmObjectW:Int(map:Int, layerName:String, index:Int)
Int
Gets an object's width.
Takes map (The map's handle), layerName (The name of the object layer in Tiled), index (Which object in the layer, from 0).
Returns: The width, in pixels.
View detailed documentation online
w = tmObjectW(map, "things", i)
BambooBasic © 2026 Michael Denathorn