How to convert viewport xy coordinates into 32x16 Isometric TileMap coordinates

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

I’m making a selector that have to follow the mouse, I don’t know if this is the best way to make this.

:bust_in_silhouette: Reply From: JulioYagami

I found a method in TileMap that does it: world_to_map.