Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I force MouseLock upon the player?

The question says it all, how would I force MouseLock upon the player, or at least simulate it?

To avoid confusion, I'll make it clear that I want to force the option that EnableMouseLockOption in StarterPlayer enables.

For example, if you go in ROBLOX Client Settings, you'll see Enable Shift Lock Switch, I want to force that.

And please, no GUIs.

1 answer

Not guaranteed you'll find anything but maybe check here

12 comments

0

I know, sorry for making it seem like that. But I was actually stumped, as I browsed the internet for it and it said it would not work, and I do not have experience with camera manipulation, yet. Once again, thank you for helping.

0

Welcome, very simple so no problem on helping you.

0

Wait, oops. I was actually meaning the camera mode that EnableMouseLockOption enabled, sorry for false alarm. :\ I would upvote you still, however do not have enough reputation to do that.

0

Oh, easy. Not scripting though

0

No, no, I meant like, forcing it. Not just leaving it open for an option.

0

I already told you how to make them be forced in first person with my other script..

0

For example, if you go in ROBLOX Client Settings, you'll see Enable Shift Lock Switch, I want to force that.

0

Okay wait I am opening up studio

0

ROBLOX Client, not studio.

0

I KNOW. Now I do not think ou can force mouse lock.

0

You can, at least simulate it. I've seen it in games. But don't know how to do it.

0

But you'd probably have to work with GUIs which I do not.

This discussion is preserved as it was. New answers, comments, and votes are closed.