How to make Mobile Crosshair?(GUI)

Ok. I have a crosshair gui. I want it so that when the player taps the screen, the ray shoots at where the Crosshair gui is on. Not where the player taps. I dont know how to do it.

2 Likes

https://developer.roblox.com/en-us/api-reference/function/Camera/ViewportPointToRay

1 Like