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

How to lock a mousewheel?

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

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.

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