Get 1Click Maker

Timer โ€‹

Timer
PRO 25 memory Flow & Logic

Wait a number of seconds before the next action runs.

Requires [add-on] - Timers inside the object that runs the action.

Pauses the function for a number of seconds, then continues with the next action. Everything below the timer waits.

Fields โ€‹

FieldRequiredWhat to enter
TimeYesSeconds, minimum 0.1. Decimals allowed.

Notes โ€‹

  • Requires [add-on] - Timers in the object running the function.
  • The timer only delays actions after it in the same function. Actions in other functions (other clicks, events) keep running normally.
  • Loops: a function that ends with Timer โ†’ Activate Function โ†’ itself repeats forever. Add a condition on a variable to stop it, or it runs until the next Build.
  • Many timers running at the same time slow the object down; keep loops few and intervals at 0.1 s or more.
  • Clicking the button again while a timer is pending starts a second run of the function; design toggles with a variable if that matters.

Example: a flashing light โ€‹

text
Variable $blink = OFF

btn_blink โ†’ Change Variable $blink = ON ยท Activate Function โ†’ do_blink
btn_stop  โ†’ Change Variable $blink = OFF

do_blink (helper)
โ”œโ”€ Condition $blink == ON
โ”‚   โ””โ”€ success: Point of Light ON ยท Timer 0.5 ยท Point of Light OFF ยท Timer 0.5 ยท Activate Function โ†’ do_blink
โ””โ”€ (failure: nothing)