Well, title can be a little confusing, but what I mean is that how can I "interrupt" an event.
Im making a platformer adventure game, etc... And I have a boss that can both attack you and defend from your attacks, the problem is, when the boss starts the animation of attacking, if you attack him, he can change his animation to the defend one, so you kinda stop the animation and stop him from attacking you, but the problem is, the player stills gets damage after interrupting the attack animation
PS: Srry if you dont understand, Im not english :p