Hello,
I'm currently working on a puzzle that requires the player to click on an event with the mouse and then click again somewhere on the map to transfer the event to that specific spot.
So I tried to store the mouse X/Y coordinates in variables, but the problem is: I only know the script call TouchInput.x (and y) and that doesn't give the Map X/Y (in tiles), but apparently the Screen X/Y (in pixels) of the mouse pointer.
Is there some way to store the coordinates of the tile the player clicked on in my variables?
Thanks everyone for reading!
I'm currently working on a puzzle that requires the player to click on an event with the mouse and then click again somewhere on the map to transfer the event to that specific spot.
So I tried to store the mouse X/Y coordinates in variables, but the problem is: I only know the script call TouchInput.x (and y) and that doesn't give the Map X/Y (in tiles), but apparently the Screen X/Y (in pixels) of the mouse pointer.
Is there some way to store the coordinates of the tile the player clicked on in my variables?
Thanks everyone for reading!