tmSetOrientation

Category: Tilemap — Map shapes

Syntax:

tmSetOrientation:Void(map:Int, orientation:Int)


Parameters

Returns

Nothing.



Summary

Sets the shape of a map you made with tmCreate. tmLoad sets it for you. On staggered and hexagonal maps, the odd rows are the ones moved along unless you use tmSetStagger.

See the Tilemaps guide.



Example
tmSetOrientation(map, 1)

BambooBasic © 2026 Michael Denathorn