MouseBehaviour Question

I seem to recall setting UIS.MouseBehavior = Enum.MouseBehavior.LockCenter to be persistent until it’s reverted back to .Default. But for some reason I can only get the desired behavior, the mouse being locked in center, by setting it to lockcenter each frame.

so I presume that either im misremembering how it behaved, or the default Roblox camera script is overwriting my changes? Thanks for any help.

1 Like

It is probably the default Roblox camera script, which is causing this.

1 Like

yup, really didn’t want to read it to find out, but you were right.

1 Like