tmSetTileFlags

Category: Tilemap — Tilesets

Syntax:

tmSetTileFlags:Void(tileset:Int, id:Int, flags:Int)


Parameters

Returns

Nothing.



Summary

Sets a tile's flags, bits that mean whatever your game wants them to, such as 1 for solid and 2 for water. tmBoxHit, tmRayCast and the probes search by them.

See the Tilemaps guide.



Example
tmSetTileFlags(tiles, 5, 1)

BambooBasic © 2026 Michael Denathorn