Let Player.DevEnableMouseLock be changed client side

DevEnableMouseLock cannot be used client side, as per its documentation.

I have full screen UI that I want to disable shift lock when you have it open. It’s silly to force me to go through the server for what is ostensibly a client only feature. Please let me update this value client side so I don’t need to increase the surface area of my UIs by also adding a server component for this specific thing.

9 Likes

What’s even odder is Modal does this fine completely client side–it does what I want which is to disable mouse lock. But it keeps the shift lock cursor when I don’t want it, unlike DevEnableMouseLock.

image

3 Likes