How do i lock mobile mouse to the center (NOT SHIFT LOCK)

  1. What do you want to achieve? Keep it simple and clear! I want to lock mobile “mouse” to the center of the screen

  2. What is the issue? Include screenshots / videos if possible! i couldnt find any solution

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub? i didnt find any solution

Help me!

Nvm, fixed (3030303030303charaararas)

I use a gui, its a crosshair gui, i set it to the middle of the screen, then find the 3d world position using :ScreenPointToRay()

2 Likes

hey how you lock mouse because i want to make gun for mobile.