Play animation only when a button is pressed several times

Hi guys, thanks from the beginning for your time and sorry for my english :slight_smile:

I want to recreate a very basic form of FFVII Remake Combat, and I don’t really know if I can do that with my skills, but I’m trying.

So now I need to implement the attack button.
In FFVII you have to continue to press square to unleash the entire animation of the combo made by several attacks, but if you release the button and you don’t press it anymore the animation stops after the attack the carachter is currently doing restarting the next time you hit Square.

I have a single animation with a combo divided in 3 slash, how can I implement this system? Do I need to cut the animation after each slash and play it every time the user hits square? If not what function can I use to let Unreal understand that the animation needs to continue only if the player keep pressing square?

I know it may be simple, but I never done anything similar.

Thanks again, Fabrizio.