Hello. I’m looking for a way to enable Shift Lock forcefully when a weapon is equipped. I’ve looked in some posts, but none of the answers in those posts really helped.
I’ve not tried it myself but I believe what you’re looking for might be this:
The DevHub refers to it as “MouseLock” instead of “Shift Lock”
1 Like
I meant to ShiftLock
. Thank you anyways for trying to help!
You can edit the camera scripts, or you can use UserInputService.MouseBehavior like @ChiefWildin suggested.
If you were to use MouseBehavior, you can set an offset to the camera using Humanoid.CameraOffset, which should produce a similar result to shift lock.
1 Like
He literally said its Shift Lock but developer api reference refers it to mouse lock?