STEP 2: We always want our soccer ball to appear on the left side of the screen, so let's create a variable to store the value of the soccer ball's x-coordinate! A variable is a name that stores a value.

  • Click the LOGIC tab, then click and drag out Integer Variable.
  • Change the name to the left of the = sign from my_var to ballx.
  • Change the integer after the equal sign from 25 to -80.

stage.set_axis(100) stage.create_grid_overlay(10, "grey") stage.set_background("soccerfield")