Step 35: Direction 4 Set X

Goal:


For Direction 4, the Big Asteroid will appear at a random spot to the right of the ship.

X must be a positive number to appear at the right of the screen. Y can be any number.

Steps:

  1. From Motion, place a go to x/y block.
  2. Set X to 240.

Code: