tmSetHexSide

Category: Tilemap

Syntax:

tmSetHexSide:Void(map:Int, side:Int)


Parameters

Returns

Void



Summary

Sets the length of a hexagon's flat sides on a hexagonal map, as Tiled's Hex Side Length does. tmLoad sets it for you.

Takes map (The map's handle), side (The length, in pixels).

Returns nothing.

View detailed documentation online



Example
tmSetHexSide(map, 32)

BambooBasic © 2026 Michael Denathorn