How to change animation with state machine?

I read forum posts, I’ve watched videos, but I still can’t figure out a basic task.

All I want is my character to switch to a move-left animation when the A key is pressed, and a move-right animation when the D key is pressed (3D side-scroll strafing, basically)

Currently, the character moves with A/D, but stays in the idle animation.
Can someone give me guidance?

Thank you! Can’t believe it was such a simple solution.

Here’s a screenshot of the adjusted Event Graph. Works perfect.

you need to use the variable from JimmyBP to set the variable within the animblueprint. right now, you are just setting the variables to themselves.

in the Jimmy_AnimBP event graph, drag off the return value from the cast, and use those JimmyBP variables to set those animblueprint booleans.