Category: Tilemap
Syntax:
tmWorldToGridY:Double(map:Int, worldX:Double, worldY:Double)
Double
Turns a world position into a grid y, as for tmWorldToGridX.
Takes map (The map's handle), worldX (The world x position, in pixels), worldY (The world y position, in pixels).
Returns: The grid y position.
View detailed documentation online
gridY = tmWorldToGridY(map, wx, wy)
BambooBasic © 2026 Michael Denathorn