How would you play an animation on Event Overlap?

Sorry I didn’t word the question right. What I mean is that when the player is killed (at the moment that is eventOverlap) I want the death animation to play.