How to get touch position in perspective app on android

Hello there,

I am trying to develop some kind of a virtual joystick for a robotic application. In principle, it should be simple. I just need to obtain the current touch position on the screen to update the position of the virtual joystick and send that to the robot.
Right now, I can easily do that using the onMouseMove event and pageX/Y but I could only manage to make it work in the web browser with a mouse. I need it to be touch based. The onTouchMove would be perfect for what I need but I am not able to obtain the current touch position.
Is there a way to obtain the current touch position?

Thank you

1 Like

Looking for the same thing here. The onTouchMove handler has nothing useful in it :confused: