How do I make a key's state define the outcome?

Hi Guys! Newbie with UE4 and I have a question about input in blueprint.

I want to basically have multiple keys (W,A,S,D) feed a variable that all lead to the same ‘run’ animation being played. If one or more of the keys are pressed, the state would be true and the (animation would run) If none of the keyes are pressed then the state would be false (and an idle animation would play).

The problem I’m having right now is that the animation is triggered just on wether any of the keys are “pressed” or “released” but this means that if, for example, the W and A keys are down, and the A key is released, the animation stops, despite the W key still being down. Hence why I’d like to store all keys’ state in a variable that feeds the animation?

What’s the best way of going about this? Thanks!