I've tried game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter (placed in a LocalScript, of course). This works in Studio but not online. What is the proper way to lock the mouse to the center of the screen?
COMMUNITY QUESTION
How do I lock the mouse to the center of the screen?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Do you mean locking the game in first-person mode, or just anchor the mouse to the center?
Anchor mouse to center. The camera is following an object other than the player.