> For the complete documentation index, see [llms.txt](https://docs.mutate.games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mutate.games/component-tutorials/components-a-closer-look/entity-components/timer.md).

# Timer

is an Entity Component

Timer acts as a countdown to events happening, and is another 'behind the scenes' type of component. It can be really helpful in creating increased difficulty in obstacle courses or a battle royale, for instance; every 20 seconds a new trap appears, and you have to dodge an increasing number of things that want to kill you!

It can also just help provide a nice sense of pace or suspense to your game: you're being chased down by an angry monster, but the door takes 3 seconds to unlock - will you make it in time?

![](https://3166848498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzaqFJFbPM2opQ4D43YaF%2Fuploads%2FhNdqnXY3ctSCdvX1bhAM%2FTimer.png?alt=media\&token=51136171-91b8-4c11-aca7-046ce09194c2)

* **Time** - how long the countdown lasts<br>
* **Loop** - does the countdown restart immediately after reaching 0, or does it need linking to be reset?<br>
* **Auto-start** - does the countdown start from the beginning of the game?

### Common uses

* [Item respawn](/guides/creating-game-logic-in-mutate/item-respawn.md)
* Traps - platforms only appear for a short time, meaning you have to time your jumps right!
* Variety and pacing of events
