Scrolling sets UserInputService.MouseBehaviour to default - how to stop this?

I tried to just set it on every step, but there as prolonged instances (a few seconds) of having just scrolled on my mouse, MouseBehaviour was basically locked into default, whereas I wanted it to be LockedToCenter.

Anyone have any ideas?

2 Likes

I think this behaviour does not come from the engine but instead comes from the camera scripts. I would try modifying the UpdateMouseBehaviour function in the RootCamera to add a way for you to override the mouse behaviour so that it will always stay as LockCenter.

3 Likes

Yeah thats the issue, thanks