tmSetTileFlip

Category: Tilemap — Tiles

Syntax:

tmSetTileFlip:Void(map:Int, layer:Int, x:Int, y:Int, flip:Int)


Parameters

Returns

Nothing.



Summary

Flips or turns the tile in a cell. Set it after tmSetTile, which resets it.

See the Tilemaps guide.



Example
tmSetTileFlip(map, ground, 5, 10, 1)

BambooBasic © 2026 Michael Denathorn