Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

4. Moving Obstacles
  • 1. Quick Survey
  • 2. Introduction to Loops
  • 3. Control the Racer
  • 4. Moving Obstacles
  • 5. Clone More Obstacles
  • 6. Program the Losing Condition
  • 7. Add-Ons
  • 8. Reflection
  • 9. Wrap-up: Extreme Sports
  • 10. Wrap-up: Share Your Project
  • 11. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Make the obstacle sprite go to a random spot on the right using a "go to" and a "pick random" block.
  2. Next, make the obstacle sprite move towards the left using a "repeat until" loop, a condition, and "motion" blocks.