How to get X, Y touch coordinates from screen

I want to get where the user is touching anywhere on the screen
I want to get X, Y touch coordinates
Example: 67, 92
If there is no touch currently,
It should return
0,0 (or) false.

Is any extension developer interested in making this simple extension
https://www.google.com/search?q=android+java+get+touch+coordinates
:slightly_smiling_face:

Maybe this helps you

2 Likes

Use Gesture Handler -

2 Likes

Component tools extension is for animation
I want to users X, Y coordinates that where user is touching or placing finger
Or am I wrong?

No, also you can get coordinates. Read documentation

1 Like

Which block(s) :sweat_smile:

1 Like

He shared video. Watch it

1 Like

I understood you. Please read all documentation

1 Like

Here’s another one

3 Likes

If it helps can you mark it as a solution?

1 Like

The exetnsion isn’t for animation.Read the description.You can register any component and know all the coordinates of every thumb touched the screen and much more.

1 Like

I am comparing


This didn’t help me as it doesn’t give a realtime update and supports only VA, VSA, HA, HSA

I am comparing the remaining two

Which one?

You can set fill parent one arrangement first. Then create other components. i did not test it

Gesture Handler extension suggested by @ADDYLIN

1 Like

My exetnsion gives the ability to register any component and in the real time.
See this video ( old version ):

That works

1 Like

Great. It will help me in my few apps. Thank you a lot

2 Likes