As a Roblox developer, it is currently to hard to take control of the “Mouse Lock” option in the Roblox game-settings of my experience, this is because the StarterPlayer.EnableMouseLockOption was recently deprecated and hidden from the explorer making it very difficult to make this setting not available to players.
These alternatives are also incorrect! StarterPlayer.EnableMouseLockOption does not enable or disable shift-lock, this property enables and disables the ability to shift-lock, the alternatives do not fill the purpose of disabling the ability shift-lock but rather just the ability to enable or disable shift-lock.
If this issue is addressed, it would improve my development experience because I would be more easily able to disable shift-lock in my experiences!
Yes, this is certainly a workaround for now yet this is still not ideal nor do the alternatives supersede the old-property in any way like the documentation suggests
Was this actually deprecated though and if so where was it announced? Cause I disabled shift lock for my game a long time ago and I just noticed the property is gone
Are we sure this is not a bug and actually deprecated? If so then I support this!
Just came across this because my team was freaking out over figuring out how to turn off mouse lock in our game that does not require it at all. Really an unreasonable change since there’s no other visual setting to quickly adjust this and we have to resort to using code per player. Really odd move.
If you read the post, you’d know we want to be able to control whether it’s enabled or not. We don’t just want to disable it with a script. And not everybody can script, so they need the setting. Please keep disrespectful comments like this to yourself, or find a better way to express it.
I highly urge Roblox to not push forward with this, since the solutions that Roblox have pointed out are clearly not suitable and they need to bring a better solution.
Might have to push out an update to DisableCoreGUIFunctions removing the shift lock removal thing due to this being depreciated
My previous post clearly does solve the issue of MouseLockOptionEnabled not being there, just because it is still an option in the menu doesn’t matter that much as it doesn’t work. Also, eventually they will implement something, I’m sure of it, so that it disables the display of the button like it matter lmao
If you want to have control over whether the ‘Mouse Lock’ option is enabled or not, you can consider creating your own mouse lock using the new function that replaced the deprecated ‘EnableMouseLockOption.’ By implementing a custom solution, you can achieve the desired control.
Therefore, you can MouseLock in any position of the screen and make it a lot better than the standard mouse Lock… This way, you can have direct control over the mouse lock functionality, although the option in the menu won’t allow switching it on.
… Okay? This is still different behavior. I don’t care about extra functionality, I could’ve coded my own mouselock system before this change if I really wanted. It is still a decrease in control over mouse locking. We lose the control to change how it appears in the menu.
It’s not so much a scripting issue, it’s more so that they took out a feature with no announcement and no actual gain for doing so. Also, that script is incredibly inefficient when a literal boolean toggle was its replacement.
This was un-done in Studio yet the documentation still states it is deprecated and suggests incorrect alternatives, therefore it is not 100% fixed yet.