Trying to figure out leaning left/right based on which way the character rotates

I’ve just started looking more in depth into persona/UE4 animation blueprints, so I’m pretty confused when it comes to anything more than making a character go from an idle to a run.

My goal is to make the character lean left or right based on which way they’re turning. After following a tutorial, I ended up with this setup. However, when I start playing, the character only stays in the idle position, I can’t seem to figure out how to make them lean.

If they help, here are my blend space and movement blueprint

Try putting your run animation at the top centre of the blend space. Speed =100, direction =0