Hello, I’m working on a game and I’m working on a script that returns LocalPlayer’s shift lock status. I found this function: MouseLockController:GetIsMouseLocked().
It’s located in LocalPlayer.PlayerScripts.PlayerModule.CameraModule.MouseLockControl.
I do not know why, but the function always returns nil. Can someone help me with that?
(I was working on that for 10 minutes and i still dont know why it doesnt work)
This wouldn’t always work.
For example if you are using a custom camera that idk maybe is 100% scripted manually then it sets the mousebehaviour manually then this wouldn’t work.