tmObjectW

Category: Tilemap — Objects

Syntax:

tmObjectW:Int(map:Int, layerName:String, index:Int)


Parameters

Returns

The width, in pixels.



Summary

Gets an object's width.

See the Tilemaps guide.



Example
w = tmObjectW(map, "things", i)

BambooBasic © 2026 Michael Denathorn