MZ How to play a death animation when an enemy touches the player?

I’ve been trying to implement a chase sequence into my rpgmaker project, and I’m unsure of how to play a custom sprite animation of being killed on the map. The play animation feature hasn’t exactly been working with what I’m trying to do so I’m looking for some help as I’m a bit of a beginner when it comes to rpgmaker.
Perhaps create another sheet showing the death scene and put the Change Actor Image command in the event enemy.
If you want like a falling-down to death one then have the death sprite sheet have animation by the directions, and right before the change to make the player face whatever way the animation starts at.
Sprite animations are generally done via a movement route – you set a sprite that has the necessary frames of animation assigned to the 4 directions, then make a movement route that "rotates" the event through those sprites.

You can see an example of this in action in the Quick Event feature, which makes an animation of a chest or door using the stock sprites.

It becomes a bit more complicated if your animation needs more than 4 frames, but it can still be done. I think Avery posted a tutorial about this somewhere?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-play-a-death-animation-when-an-enemy-touches-the-player.182553/