Category: Tilemap
Syntax:
tmObjectProp:String(map:Int, layerName:String, index:Int, key:String)
String
Gets one of an object's custom properties, as text.
Takes map (The map's handle), layerName (The name of the object layer in Tiled), index (Which object in the layer, from 0), key (The property's name).
Returns: The value as text, empty if it has none.
View detailed documentation online
msg = tmObjectProp(map, "things", i, "message")
BambooBasic © 2026 Michael Denathorn