Android Question pixel coordinates on click event

DOM85

Active Member
Licensed User
Longtime User
Hello,
How can i obtain x and y coordinates of the point where i click on the screen ?
Thank you for any help.
 

DOM85

Active Member
Licensed User
Longtime User
You can put a transparent panel over the entire screen and then capture the touch event.
This event will return the x and y coordinates of where the user touched the panel.
These touch events can also be passed on to the objects underneath the panel.

Nice solution. It works fine.
Thanks to all !
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…