> For the complete documentation index, see [llms.txt](https://joanorba.gitbook.io/spawnertool/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joanorba.gitbook.io/spawnertool/api/runtime/timer.md).

# Timer

class in SpawnerTool.Runtime

### Description

This class gives all functionalities you need for a timer.

### Events

<table data-header-hidden><thead><tr><th width="150"></th><th></th><th></th></tr></thead><tbody><tr><td>event Action</td><td>OnTimerEnd</td><td>Timer actioned when timer finishes time.</td></tr></tbody></table>

### Public Methods

<table data-header-hidden><thead><tr><th width="235"></th><th></th></tr></thead><tbody><tr><td><a href="/spawnertool/api/runtime/timer.md">Timer</a></td><td>Constructor of the timer class</td></tr><tr><td><a href="/spawnertool/api/runtime/timer/tick.md">Tick</a></td><td>Makes time pass</td></tr><tr><td><a href="/spawnertool/api/runtime/timer/getcountdowntimer.md">GetCountDownTimer</a></td><td>Get current time counting from Duration towards 0</td></tr><tr><td><a href="/spawnertool/api/runtime/timer/getcountuptimer.md">GetCountUpTimer</a></td><td>Get current time counting from 0 to Duration.</td></tr></tbody></table>
