Category: Tilemap
Syntax:
tmSetLayerAlpha:Void(map:Int, layer:Int, alpha:Double)
Void
Sets a layer's see-through level. It multiplies with b2dSetAlpha.
Takes map (The map's handle), layer (The layer's number, from tmAddLayer or tmGetLayer), alpha (0.0 is invisible, 1.0 is solid).
Returns nothing.
View detailed documentation online
tmSetLayerAlpha(map, water, 0.6)
BambooBasic © 2026 Michael Denathorn