How to Make a Timer

Countdown Timer

  1. Add a Variable object to a scene. You can find it in the Special tab:

ALT TEXT HERE

  1. Increase the Font Size of the Variable to make it very visible. Then raise it into the air so it can be seen across the scene.

  2. Increase the Variable's initial value to the amount you want to count down. For example, if you want a 30 second countdown timer, input 30 for the initial value.

ALT TEXT HERE

  1. Open the Events tab on the Variable and add events to start a Timer and countdown. Add the events:
On: Awake
Then: Myself
Start Timer
-1

Add another new event:

On: Value Changed
& If Value
==
0
Then: Myself
Stop Timer

ALT TEXT HERE

That will have the variable start counting down when the scene starts, and then stop counting once it reaches 0!

You can even add more event actions after "Stop Timer" if you want other effects to happen when it reaches 0.

If you want to make a Timer that counts up, simply change the -1 in the Timer event to a 1.