#How to fix scenes not allowing me to place them directly adjacent to each other?
2 messages · Page 1 of 1 (latest)
I guessed it has to do with the global mouse and the stepify, a few things could go wrong:
- The global position of the mouse is vastly different than a local position, consider using tilemap.to_local(mouse_pos) before stepifying
- The stepify snaps the position at the edge of the tile consequently putting it on another tile
Finally: I would consider using tilemap.world_to_map to interact more precisely instead of to_local or stepify.