1. Make the ball sprite move until it touches the edge of the screen using "move," "repeat until," and "touching edge" blocks.
  2. Give the ball sprite a starting location using the "go to" block.
  3. Make the ball sprite repeat its actions using a "forever" block.
  4. Make the ball sprite move only if the user presses the spacebar with "if" and "key pressed" blocks.