Download

Sound won't stop when keys are released?

So i have my visual blueprint for footsteps, I had it at one point where it would play the sound when pressing a key and stop when i released it. However, when I pressed 2 keys simultaneously and let go of 1 key but keep the other pressed the sound would stop. So I eventually came up with the branching idea and created a variable for when another key is pressed.

Now when I press any of the keys the sound just plays and doesnt stop, even when any key has been released. I’ve tried many ways to solve this with no avail.

any help?