On Button down animation play from animation blueprint.

So today i made some nice animations for my game and imported them successfully. I already made an idle for my hands and it worked. My problem is that i want when i press a button another animation would play. I made a variable and an animation graph for the idle and the other animation. So when i eneble the variable the animation plays. But i can’t figure it out how to enable this variable by pressing down the button F.

I think this may help you do what you are trying:

Good luck!

Thank you! Worked perfectly!