You could have a Boolean variable for “Input Accepted.”
You make the default of this value be False.
You then wire up “animation done” to an event that sets this boolean to True.
Finally, in the input actions, you check whether this Boolean is True or False with a Branch node.
Alternatively, instead of tracking this state in a Boolean, set the “input enabled” property of your widget-and-children to disabled/enabled appropriately, if you’re using mouse input for the widgets.
However, as a game player, I hate it when games force me to wait through animations, even when I know what I want to do. You might want to allow inputs before the animation is done, to avoid frustrating impatient players.