Category: Tilemap
Syntax:
tmObjectName:String(map:Int, layerName:String, index:Int)
String
Gets an object's name.
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 name, empty if it has none.
View detailed documentation online
n = tmObjectName(map, "things", i)
BambooBasic © 2026 Michael Denathorn