How Would I Lock Players In Shift Lock?

Not sure how but I want to lock players in shift lock and also remove the shift lock tab in the settings

1 Like

Would you always want them to stay in shift lock? This might sometimes cause problems, an example of a problem would be when player is interacting with UI.

1 Like

You can disable the shift lock tab in the settings by turning off EnableMouseLockOption in StarterPlayer (or in the Player)

image

If you want to force players in shift lock then you’ll probably want to create a custom script for that by changing the player’s camera offset and locking their mouse, then have their character face the camera. You could follow this tutorial: How to Force Enable Shift-Lock (Without changing the PlayerModule)

1 Like

Thanks for the warning but that shouldn’t conflict with my ui

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.