Category: Tilemap — Layers
Syntax:
tmGetLayer:Int(map:Int, name:String)
The layer's number, or -1 if there isn't one.
Finds a layer by name, useful with loaded maps.
See the Tilemaps guide.
ground = tmGetLayer(map, "ground")
BambooBasic © 2026 Michael Denathorn