Step 25: Direction 1 IF Statement

Goal:


Let’s set up Direction 1 where the Big Asteroid will appear above the ship.

Steps:

  1. From Control, place an IF block.
  2. From Operators, place an = block in the IF block.
  3. From Variables, place a round Direction block in the first spot of the = block.
  4. Set the second spot of the = block to 1.

Code: