Step 1: Speed Variable


Let’s start our game by making a variable.

A variable is something that holds information that can be used in our code multiple times.

We will make a variable called “Speed” that will be used to tell our background how fast it needs to move.


  1. Select Variables.
  2. Click on Make a Variable.
  3. In the window that appears, type “Speed”.