Camera Target Arm + Character Velocity

Hey,

GOAL: Target arm to be 300units away from character unless character is moving, then I add the velocity + 300offset to the arm. When he stops it should go back to the 300 unit offset.

Right now it keeps on adding 300+velocity.

How can I snap it back to 300 if velocity is going down back to 0.

I’m using an Event Tick right now so it updates all the time.

Thanks,
Vince

6752f8d1f978208189d042355c07b5c1ae729aa4.jpeg

Seems pretty simple can anyone point me in the right direction or have an idea?

Hello,
If you add a bool as condition for a branch at tick start and set this bool : true on moving key pressed / false on moving key released, then you can link your actual setting on true and set your arm length 300 on false of the branch.