I stumbled upon a problem into migrating a game into mobile devices. I would like to get the target of what last pressed in the game in mobile devices. I tried using Mouse.Target, but i bind it to RenderStepped. I also tried looking in the wiki for any help, seems like UserInputService doesn't wouldn't return anything useful execpt the Vector2 from screen location.
Note: I tested this using the roblox studio simulation. Maybe it just doesn't work properly. or maybe i was wrong.
First question: Is it possible? If so, what could be the problem? Second: If i want to achieve this with the Vector2 supplied by TouchTap event from UserInputService, how would i do so and obtain the target part?
On the other hand, basically my goal is to make it when you press something/ touch something, it will show up a gui. But without clickdetectors as I don't want hacky ways to prevent them on PC.
Side note: It works on PC just well if you hover your mouse over the object, meaning Mouse.Target works properly on PC.
Thanks!

2 comments
I think it won't work because there is no mouse on mobile
There is, It is a simulated mouse according to roblox wiki. CreeperDude.