Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to lock a mousewheel?

Asked by 10 years ago

How do I lock a mousewheel? I mean like, how would I make it so you cant zoom in or out, I know it uses

MouseWheelForward

MouseWheelBackward

I just cant figure out the rest

2 answers

Log in to vote
0
Answered by 10 years ago

http://wiki.roblox.com/index.php?title=HumanoidController --Go to this link to learn about controlling players, unfortunately, the original pages are replaced with confusing stuff

Ad
Log in to vote
1
Answered by
DataStore 530 Moderation Voter
10 years ago

One way that you can achieve this is by setting the CameraMaxZoomDistance and CameraMinZoomDistance properties of their player object. If you set both properties to the same number, the user will be unable to zoom out or in.

Answer this question