Step 13: Set a Timer 1

Goal:


First, we need to set the timer to 60 at the beginning of the game.

In our code, we want to create a separate code block that only deals with timer.

The timer is unaffected by any other code in the game and will run no matter what happens.

Steps:

  1. From Events, place a when green flag clicked block.
  2. From Variables, place a set timer block and set the value to 60.

Code: