tags: timer title: Trigger timer example brief: This example shows how to create timer that triggers counting every 1s and can be triggered manually and asynchronously as a reaction to user input. author: Pawel Jarosz
The example shows how to use Defold built-in timer and trigger it asynchronously and uses two indicators:
The timer triggers update of the counter every 1s. Click anywhere to trigger the callback of the timer asynchronously.