tmGetOrientation

Category: Tilemap

Syntax:

tmGetOrientation:Int(map:Int)


Parameters

Returns

Int



Summary

Gets the shape of a map.

Takes map (The map's handle).

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

View detailed documentation online



Example
shape = tmGetOrientation(map)

BambooBasic © 2026 Michael Denathorn