I'm aware of
game.StarterPlayer.EnableMouseLockOption = false
which allows me to force a player out of mouse lock or enable them to shift-click it. However, I'm trying to force the player into mouse lock mode any suggestions?
I'm aware of
game.StarterPlayer.EnableMouseLockOption = false
which allows me to force a player out of mouse lock or enable them to shift-click it. However, I'm trying to force the player into mouse lock mode any suggestions?
Using a localscript and UserInputService, you can lock the mouse in the center as so:
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter
More info can be found here
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
You should be aware of what property you are editing