DevEnableMouseLock Bug

according to Developer Hub, I should be able to change DevEnableMouseLock on client, but I can’t.

https://developer.roblox.com/api-reference/property/Player/DevEnableMouseLock

EDIT #1:

I was able to replicate this bug.

1 Like

This is a documentation error. This property has only ever been able to be set at authoring time, true of all the properties prefixed with “Dev”. These properties are reflected in the Roblox menu, where things are shown as “Set by Developer”, and there is no support for changing them at runtime.

1 Like

The security check done by these properties are hard coded, rather than being defined by a security context level, so the DevHub didn’t automatically note this. From what Ive observed, they can be changed by the server, but not the client. The JSON API Dump (which the DevHub uses) does not automatically realize this because hard coded behavior is not bounded to the reflection system.

That note on the DevHub is wrong though, I’ll mention it to someone.

I can change them on server, but not on client.