Gets the tile a tile object shows. tmDraw and tmDrawLayer draw these objects in the layer's place. 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 tile id, 0 for a shape object.
map
Int
layerName
String
index
Int
id = tmObjectTile(map, "things", i)