# Defold Timer

**URL:** <https://forum.defold.com/t/defold-timer/70332>\
**Category:** The Defoldmine\
**Created:** [February 10, 2022, 9:12pm UTC](https://forum.defold.com/t/defold-timer/70332 "2022-02-10T21:12:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [February 10, 2022, 9:12pm UTC](https://forum.defold.com/t/defold-timer/70332/1 "2022-02-10T21:12:30Z")

</div>

Hi all,

**Defold Timer** provides a visual timer widget in a Defold game engine project.

In many games, there exists some kind of on-screen timer counting up or down to track the player’s rate of progression through a level or scenario. The elapsed time can then be used for various purposes, for example saving the player’s fastest attempt at a level or restarting a level when time runs out.

This library only handles timer logic and setting the text of a gui node with `gui.set_text()`. The user retains all styling authority over their gui nodes.

Happy Defolding!

> **[GitHub - whiteboxdev/library-defold-timer: Defold Timer provides a visual timer widget in a...](https://github.com/whiteboxdev/library-defold-timer)**
>
> Defold Timer provides a visual timer widget in a Defold game engine project.
