tmFill

Category: Tilemap — Tiles

Syntax:

tmFill:Void(map:Int, layer:Int, x:Int, y:Int, w:Int, h:Int, id:Int)


Parameters

Returns

Nothing.



Summary

Fills a rectangle of cells with a tile. Parts outside the map are skipped.

See the Tilemaps guide.



Example
tmFill(map, ground, 0, 25, 200, 5, 1)

BambooBasic © 2026 Michael Denathorn