tmSetTile

Category: Tilemap — Tiles

Syntax:

tmSetTile:Void(map:Int, layer:Int, x:Int, y:Int, id:Int)


Parameters

Returns

Nothing.



Summary

Puts a tile in a cell, unflipped. Outside the map it does nothing.

See the Tilemaps guide.



Example
tmSetTile(map, ground, 5, 10, 3)

BambooBasic © 2026 Michael Denathorn