Category: Tilemap
Syntax:
tmGridToWorldX:Double(map:Int, gridX:Double, gridY:Double)
Double
Turns a grid position into a world x. On an isometric map, move things in grid positions and use this to draw them. On other maps the two are the same.
Takes map (The map's handle), gridX (The grid x position, in grid pixels), gridY (The grid y position, in grid pixels).
Returns: The world x position.
View detailed documentation online
footX = tmGridToWorldX(map, gridX, gridY)
BambooBasic © 2026 Michael Denathorn