Title pretty much explains it. However, to put into context, I have a script that focuses the CurrentCamera on a part but I don't want the player to be able to use their scroll wheel to zoom in or out. How can I prevent this?
The script looks like this if necessary
local cam = game.Workspace.CurrentCamera local part = game.Workspace.FocusHere cam.CameraSubject = part wait(0.3) cam.CoordinateFrame = CFrame.new(part.Position + Vector3.new(1,0,1)) cam.CameraType = 'Attach'
Features such as CameraMinZoomDistance
and CameraMaxZoomDistance
can change the minimum and maximum zoom camera values. If you want to make it static, then compare these 2 properties.