# Timer

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?

![](/files/OdNGbbqiIv01u9SI89iQ)

* **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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mutate.games/component-tutorials/components-a-closer-look/entity-components/timer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
