Input action does not check variables.

Im having trouble with a Sprint mechanic blueprint. I apologize in advance for no screenshots, im on my phone. The desired effect will be to have an Input key mapping cause you to sprint, but only if the W key is also pressed, resulting in one directional sprinting. Here is what i had.

InputSprint, pressed, branch(if b_wpressed = true), max move speed = 600

Released, max move speed = 200

The script works, but if you keep holding the sprint key down, you can sprint no matter what movement key is pressed. Its not updating if W is pressed or not mid script. Any suggestions? Thanks in advance.

Ds

My apologies. This blueprint was contained inside the mycharacter.h blueprint