Oh interesting! Yeah it's x,y order. I think there could be some issues with screen size affecting the accuracy of the detection logic but of course I didn't really have time to test it :D
Some of the later stages get a bit deliberately tricky giving out the coordinates to throw the player off but I hope they are still understandable.
Thanks for playing!