I tried DevEnableMouseLock
but it doesn’t work.
https://devforum.roblox.com/t/insufficent-permissions/19111
4 Likes
Basically this?
That’s not MouseLock, that’s just forcing the mouse to stay in the center.
He’s meaning the camera type.
2 Likes
On StarterPlayer, that would error on run-time, yeah. The Player object also has this property though, which you can set on run-time and it will have the behaviour you’d expect:
http://wiki.roblox.com/index.php?title=API:Class/Player/DevEnableMouseLock
I did, but it doesn’t work.