Unfortunately i didn’t find answer in documentation.
For example i have map created via Tiledmap. Size is 15x15 tiles. Can i add sprite to the tile at coordinates 7x14 without any physics?
I’ve tried to get coordinates manualy via touch event( map.pixelsToTiles(event.x, event.y) ) and then i want attach sprite to the tile with received coordinates.
It works but if i will move the camera - map.pixelsToTiles(event.x, event.y) will return same coordinates even if map was moved out of camera.
For example top left corner will always return coordinates 1,1.
Can Dusk correct calculate at which tile was tap?
Thanks in advance