How to change Zoom speed based on zoom distance

Im working on a strategy project, where the zoom distance is quiete big
I’d like to achieve a system, where the zoom speed is changeing depending on how far the player is zoomed out or in
The further the camera is, the faster its zooming in, and the closer it is, slower the zoomspeed is
I have the camera atached to a spring arm, and the scroll in/out working fine, but i cant get the speed working

Thanks for any advice!

Many ways to do it. The most basic implementation could look like so:

Above, the zoom step depends on the length of the arm.

  • another way is to sample a curve, handy if you need a less linear speed modifier

Thanks for the help, it works perfectly!