tmGetTileFlip

Category: Tilemap

Syntax:

tmGetTileFlip:Int(map:Int, layer:Int, x:Int, y:Int)


Parameters

Returns

Int



Summary

Gets the flip of 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 flip value, as for tmSetTileFlip.

View detailed documentation online



Example
f = tmGetTileFlip(map, ground, 5, 10)

BambooBasic © 2026 Michael Denathorn