Category: Tilemap — Map shapes
Syntax:
tmWorldToGridX:Double(map:Int, worldX:Double, worldY:Double)
The grid x position.
Turns a world position into a grid x. On other maps than isometric the two are the same.
See the Tilemaps guide.
gridX = tmWorldToGridX(map, wx, wy)
BambooBasic © 2026 Michael Denathorn