# Adding an event to "on life zero"

**URL:** <https://forum.makecode.com/t/adding-an-event-to-on-life-zero/2766>\
**Category:** Arcade\
**Created:** [July 14, 2020, 12:05pm UTC](https://forum.makecode.com/t/adding-an-event-to-on-life-zero/2766 "2020-07-14T12:05:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 14, 2020, 3:51pm UTC](https://forum.makecode.com/t/adding-an-event-to-on-life-zero/2766/2 "2020-07-14T15:51:26Z")

</div>

You need to use (err…who made the timers extension…JK) @darzu’s timers extension and wait a bit before saying game over.

Here is the link:

> **[destroy sprite before game over](https://arcade.makecode.com/59776-61147-80919-06333)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

@darzu’s Forum post about the timers extensions:

> [@Timers extension: after X, debounce, throttle, and in-background](https://forum.makecode.com/t/timers-extension-after-x-debounce-throttle-and-in-background/1925):
>
> Hello world, I create a new “Timers” extension: [https://github.com/darzu/arcade-timers](https://github.com/darzu/arcade-timers) Early beta. Sample: [https://makecode.com/\_c57bYTea0RFV](https://makecode.com/_c57bYTea0RFV) Blocks Examples “After X do” / aka setTimeout: “Separately do” / aka run in background thread: “after Y settled for X do” / aka debounce: “for Y at most once every X do” / aka throttle:

Link to import the timers extension:

> **[GitHub - darzu/arcade-timers: Timers and execution control for MakeCode Arcade](https://github.com/darzu/arcade-timers)**
>
> Timers and execution control for MakeCode Arcade. Contribute to darzu/arcade-timers development by creating an account on GitHub.

 ![Screenshot_20200714-114840](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0d11b9000f8a95934b442728a241ff75696788c0.png)

---

_[View the full topic](https://forum.makecode.com/t/adding-an-event-to-on-life-zero/2766)._
