How do I set a player's zoom distance?

I don’t want to know how to set the max and min zoom distance. I want to know if I can change the value of the player’s zoom. Like, change how much their camera is currently zoomed?

2 Likes

In StarterPlayer there is min and max zoom distance
CameraMaxZoomDistance and CameraMinZoomDistance

The first thing I said is that I don’t want to set the max and min zoom distance. I want to change how much their camera is currently zoomed.

1 Like

Do you mean like FOV if so then change it in starter player in a script you have to do it in workspace then camera (i think)

You can do that by messing around with the max/min. zoom distances.

You can’t I think, only rewrite camera module

2 Likes

You could try changing the CameraMinZoomDistance just for a second then put it back to normal so it puts their camera there

9 Likes

Close, but changing the FOV doesn’t actually change the zoom (if you were to scroll)

1 Like

There’s a function Camera:Zoom(distance: float), but it can only be accessed by CoreScripts.

1 Like


(This is in Camera:Zoom)

1 Like