Detect touch area

Is it possible for me to detect a touch on the screen and know its point?
I wanted to create a game where the person chooses elements on the screen. Is it possible to do something like that? If yes, give me a light, I don’t know where to start

You can get the touch location from the screen tap or screen pan patches. These will give you the pixel position. If you want a normalized coordinate (0–1), you can divide it by the screen size (from the device patch).

You can also use the object tap patch to enable tap events on specific objects.

FWIW I think custom UI is still disallowed, so you will need to make these elements part of the 3D scene, and not tracked to the screen.

1 Like

I got it my bro, thanks for the tip