When a user touches a screen on a mobile device, how do I find out the coordinates of the user’s touch? I’d like to reposition an image based on the touch location on the screen.
Hi,
Those would be the same mouseX
and mouseY
Thank you, LuckSmith… seems to work fine. Here’s the working code, thanks to you:
https://editor.p5js.org/brooksofmaine/sketches/9QMC9ID8
Best…Malcolm