Incorrect info in Player.DevEnableMouseLock

Heya ^^’ I’ve been trying to disable MouseLock in my game and have been having issues with StarterPlayer.EnableMouseLock, so I tried setting Player.DevEnableMouseLock in a local script as this page in the devhub says to:
https://developer.roblox.com/en-us/api-reference/property/Player/DevEnableMouseLock

However, changing this property in a local script produces this error:
image
After talking to some people, it looks like permissions checks were added to this property in 2015 and this property can only now be changed on the server, using a regular script.

Can the documentation for this property be changed to reflect this? Thank you, have a good day ^^’

2 Likes