how to change spring arm length with change in speed of character??

how can i change the length of the spring arm according to speed of object attached to it. i have a object say a ball attached to camera through spring arm ,now how can i make camera move back and forth on that spring arm when i move ball speed…
and also another question is it possible to attach multiple spring arms and objects like multiple camera on a single object and acheive same effect as stated above change in speed making camera making move…
i know its a easy question and i can get a solution quickly…

For the spring arm length, get the velocity of your players root component. Using this velocity (which is a float) combined with a multiplier/divider to set the length of your spring arm.

Yes, I think you can attach multiple spring arms and cameras… and you can toggle between the cameras.

I hope this helps!