Download

Blueprint for animation attack

Hello.
I am studying the 2D part of Unreal Engine and I had no problems with the walking and jumping animation.
However I can’t set my character to perform a certain animation when I press a button (using blueprint).
I want it to perform the attack animation when I press ‘Z’.

Can someone help me with this, please?
OBS: The attack animation only needs one frame.

I did it.
I used this sequence of nodes, if something is not correct, please, fell free to tell me.BlueprintAttack.jpg

How do you allow an attack to only happen once and not loop if i say had 2 frames or more

Ps your single frame version is similar to what im using but i made a state enum so i can use its states in other areas (ie crouch cant attack vs stand can)