How to stop button action while animation is running and re activate when animation finish?

Hi everyone,
I have an animation that is activated by a button, I need to make the button stop working while the animation is running, and re activate it at the end to play it reverse.
Does anyone know how to solve my issue?
thanks.

Preface: I’ve only done this with Anim Montages, using “Completed” and “On Blend Out” states, but here’s the gist of my solution:


Make a boolean called “Is Busy?”, when that’s False, play the sequence, but basically you want to set “Is Busy?” as true while the sequences are playing, and false when they’re done playing, aka checked and unchecked. So I’ve visualized it here using a delay node, but obviously you don’t want to use that–it’s just trying to convey that while the sequences are playing, actor should be set to busy, and as soon as they finish, actor is not busy. Here’s a screenshot of how I’m using it in my BP.

Hopefully this helps a little bit–I’m not the best at explaining myself haha