set variable when some key is pressed

Hi
2. Drag wire from “try get pawn owner” and cast it to your character.
From cast node “as…” drag wire and type “get sprint”
Set with that variable sprint in your anim bp

  1. In your char bp, create variable bool sprint,
    On sprint pressed, set bool to true, on released set it to false