...or does it take cursor position somewhat differently?
I am now doing point-and-click movement, with positions snapped to tilemap.
And when I set navigation visibility mode to "Force Show", I noticed that my units keep moving even if I click within the same tile. Even though they should not! It is the same tile! Must be same array of tiles!
So I added debug output. And it confirmed that clicking within the same tile boundaries, I get different tilemap coordinates.
Here, the screenshots.


First pair of the numbers in Output are the click coordinates, converted with this function:
func global_to_map(global_coords : Vector2) -> Vector2i: # global_coords = to_global(get_local_mouse_position())
return local_to_map(to_local(global_coords))
I am really puzzled here! I mean, I could make an error in writing snap, but this is very raw coordinates converted to a tile. What could possibly go wrong here? Any ideas, please?..
PS: TileMap transform is (0, 0) just in case, I checked.