# Death animation

**URL:** <https://forum.makecode.com/t/death-animation/7852>\
**Category:** Help\
**Created:** [May 4, 2021, 10:26pm UTC](https://forum.makecode.com/t/death-animation/7852 "2021-05-04T22:26:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![XDlol](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xdlol/32/21235_2.png) [@XDlol](https://forum.makecode.com/u/XDlol)\
**Post date:** [May 4, 2021, 10:26pm UTC](https://forum.makecode.com/t/death-animation/7852/1 "2021-05-04T22:26:37Z")

</div>

I am making a game, but I don’t know how to place the enemy’s death animation on top of the enemy. Can somebody please help? This is the game

> **[lol](https://arcade.makecode.com/17890-35351-21040-94820)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Delta](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/delta/32/4010_2.png) [@Delta](https://forum.makecode.com/u/Delta)\
**Post date:** [May 5, 2021, 3:14pm UTC](https://forum.makecode.com/t/death-animation/7852/2 "2021-05-05T15:14:48Z")

</div>

@XDlol This should fix it.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/be9068f1104c1ef4b43f6af0a59d374daa88ba16.png)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 5, 2021, 4:08pm UTC](https://forum.makecode.com/t/death-animation/7852/3 "2021-05-05T16:08:00Z")

</div>

I don’t think you want to pause inside a `on overlap` event - I would just set the lifespan of `sprite` to be 500 and use an `on destroyed of kind <enemy>` increment the score.
