Returns the local position of the top left corner of the cell corresponding to the given tilemap (grid-based) coordinates. To get the global position, use Node2D.toGlobal:
var local_position = my_tilemap.map_to_world(map_position) var global_position = my_tilemap.to_global(local_position)
Optionally, the tilemap's half offset can be ignored.
See Implementation
Returns the local position of the top left corner of the cell corresponding to the given tilemap (grid-based) coordinates. To get the global position, use Node2D.toGlobal: