Timer

Adding Timers to your app

Create a Timer

You can add a Timer to your app from the Blocks tab of your Thunkable project. Find the Timers drawer of blocks and click on the โŠ• icon to add a Timer to your app.

Settings

You will see a settings panel that allows you to set:

  • The Name of the Timer

  • The Interval of the Timer, in seconds or milliseconds

  • Whether or not the Timer should Count Up

  • Whether the Timer should Loop, ie. if the Timer should reset itself once it fires

  • Whether the Timer is Enabled (this can be changed with blocks)

You can also Delete the Timer.

Edit a Timer

You will see the Timers you have added to your app underneath the Timers section of your blocks.

Blocks

When Timer Fires

Set something to happen when the Timer fires.

Start Timer

Starts the Timer.

Stop Timer

Stops the Timer.

Get Time

Get time in seconds

Returns time in seconds.

Get time in milliseconds

Returns time in milliseconds.

Interval

Set Interval

Set interval of Timer in milliseconds.

Get Interval of Timer

Returns interval of Timer in milliseconds.

Count Up

Set Count Up

Set whether Count Up is enabled for this Timer.

Get Count Up

Returns true or false value for whether Count Up is enabled for this Timer.

Loops

Set Loops

Set whether the Timer loops.

Get Loops

Returns true or false value for whether Loops is enabled for this Timer.

Enabled

Set Enabled

Set whether the Timer is enabled.

Get Enabled

Returns true or false value for whether this Timer is enabled.