Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to have control over players ShiftLock?

Asked by 4 years ago
Edited 4 years ago

I am trying to as the title says have control over the player's shift lock. By this, I mean the ability to enable and disable shift lock accordingly via script. I am not referring to StarterPlayer>EnableMouseLockOption. I have done some research and found posts here but they don't give me the control nor result that I want. As this does not enable the "normal shift lock" but instead just loop locks your mouse by using

self.activeCameraController:SetIsMouseLocked(true)

if anyone has a solution or knows where the CameraModule functions are being called from please let me know thanks.

Answer this question