Creating a Paper2D Platformer: How do I add an attack function?

Im trying to have an attack that triggers when I pres G, while the flipbook updates to match. However I cannot seem to get it the animation to trigger. I am very new to blueprint.

I am using the 2D template.

Help, please and thanks in advance.

bump bump bump