Button hold

I made a simple shooting animation for a paper 2d character and made it to where when you shoot, you only shoot one time and need to press the button every time you shoot. The problem is when you hold down the shoot button, the flipbook keep playing. How can I get the flip book to reset back to standing/idle even if you continue to hold the button down? I tried putting ‘DoOnce’ in a few different places but cant quite get it.

On your Pressed event, use Delay of however long the flipbook is, then call the Unpressed event.

that did the trick, thank you