Did Roblox remove the ability to Enable & Disable Shiftlock/Mouselock?

I have no clue if this is just me a thing? But for some reason I can’t disable shiftlock in my game, did Roblox change it to go somewhere else or something?
Screenshot (1973)

EDIT: You can disable it you just need to use userinputservice also thanks chase for featuring my post in a video

2 Likes

Same thing whenever I tried to disable shiftlock

1 Like

Salutations! :smile:


It appears Roblox has deprecated MouseLock in its most recent update; update 576. Here is the updated log proving so:


Update 576 is brand new:


image

Yes, you read that right, they deprecated MouseLock yesterday.


I have no idea if they’re replacing it with something new but there doesn’t currently seem to be a replacement in the API logs.

Here is the github containing Roblox update logs:

When properties are deprecated they are usually removed from the properties window but kept alive in script calls. To disable MouseLock in your game place this in a server script:

game.Players.PlayerAdded:Connect(function(plr)
    plr.DevEnableMouseLock = false
end)

Hope this helps! :smile:
And I hope Roblox mentions this change in the public update logs soon.

6 Likes

Bro what??? why would Roblox deprecate such a important feature!?

5 Likes

Well, this was pretty unexpected of Roblox to do.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.