How do I make a flip book animation play when ever the players character/actor gets hit

It’s how to play a flipbook animation when the player character gets damaged