tmObjectTile

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.

Tilemap

Parameters & Returns

Parameters

map Int
layerName String
index Int

Returns

Int

Quick Summary

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.

Technical Exegesis...

Gets the tile a tile object shows. tmDraw and tmDrawLayer draw these objects in the layer's place.

See the Tilemaps guide.

Returns: The tile id, 0 for a shape object.

Example

Example.bam
id = tmObjectTile(map, "things", i)