Player property determines if a player can toggle mouse lock. When Mouselock is enabled, it will lock the player’s cursor to the center of the screen.
Moving the mouse will rotate the camera and player will move relative to the current rotation of the camera. This property is set by the value of
This can be set during run-time through using a
LocalScript if you would like it to differ from the value set by StarterPlayer’s EnableMouseLockOption.