tmGetOrientation

Category: Tilemap — Map shapes

Syntax:

tmGetOrientation:Int(map:Int)


Parameters

Returns

0 square, 1 isometric, 2 staggered, 3 hexagonal.



Summary

Gets the shape of a map.

See the Tilemaps guide.



Example
shape = tmGetOrientation(map)

BambooBasic © 2026 Michael Denathorn