Set Target Arm Length... What am I doing wrong?

Hi, complete novice here, but I can’t figure out why this doesn’t work. Any help would really be appreciated, thanks guys!

it works but it will only do that for once per Z pressed.
If you want to have something that when you pressed a key and slowly zoom in/out, use timeline or interpolation.

Can you show us a larger image? I can’t really see what function you’re using in the middle there. I think that might be what’s wrong though. You’d simply just pull out from SpringArm1, choose set, enter target arm length, then connect from Z pressed node to the set node.

Of course that will only set it once and leave it, no switching between values.