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.
map
Int
layerName
String
index
Int
key
String
msg = tmObjectProp(map, "things", i, "message")