How-to

Count down with a timer

Start a timer from logic, and do something when it runs out, such as moving the player on.

Before you start

  • Decide when the countdown starts, how long it lasts, and what happens when it ends.

Steps

  1. In the navigator, click Data › Timers, then New. The name is selected: type one, such as Hurry, and press Enter.

  2. Under Timer, the first box is the interval between ticks, in milliseconds: 1000 is one second.

  3. Tick Has End Tick and type the number of ticks in the box beside it, such as 3, then press Enter.

    A timer's settings: Name Hurry, the interval 1000, and Has End Tick on with 3
  4. Start it where the countdown begins, such as a line's On Tap Logic: click Add; in the Result window, next to Outcomes, click Add; click Timers, then your timer. The operation is Start. Click Save in each window. The line reads Timers → Hurry Start.

  5. React when it ends. On the Adventure Builder, drag Trigger from the Add panel onto the canvas and select it. Click the Trigger Statement's Edit…, then Timers, your timer, and under Trigger when, Timer end. Click Save.

  6. Click 0 logic lines… and add what happens, such as Navigation › Start Scene and a scene.

Check it worked

The trigger's inspector reads Timers ( Hurry ) → Timer end and 1 logic line…. Play-test: when the countdown runs out, the trigger's logic runs. With the harbor's welcome line starting a three-tick timer, the player who hasn't chosen after three seconds finds themselves on the road.

The Trigger window: Timers, Hurry, and Timers ( Hurry ) → Timer end in its summary

Good to know

  • Without Has End Tick, a timer ticks until logic stops it, and Timer end doesn't come.
  • Trigger when also offers Timer start, Timer tick (each tick) and Time passed (milliseconds).
  • The timer's operations are Start, Stop and Reset.

See also

Checked against main 9bb38dc, 2026-12-03Report a problem with this page