Gets the tile in a cell. Takes map (The map's handle), layer (The layer's number, from tmAddLayer or tmGetLayer), x (The tile column, from 0), y (The tile row, from 0). Returns: The tile id, or 0 if empty or outside the map.
map
Int
layer
Int
x
Int
y
Int
id = tmGetTile(map, ground, 5, 10)