Skip to content
2. Throw the Baseball
  • 1. Introduction to Variables
  • 2. Throw the Baseball
  • 3. In the Strikezone
  • 4. What's the Count
  • 5. Baseball Average Calculator
  • 6. Add-Ons
  • 7. Reflection
  • 8. Wrap-up: Batter Up
  • 9. Wrap-up: Share Your Project
  • 10. Wrap-up: Show Your Project
arrow_backward Back Next arrow_forward
Instructions
  1. Make the baseball move towards home plate using the "repeat until," "move," and "touching edge" blocks.
  2. Point the baseball in a random direction using "point in direction" and "random" blocks.
  3. Start the baseball in the same position before each pitch using a "go to x y" block.
  4. Pitch 5 times using "repeat" and "wait."
  5. Make the baseball start moving when the green flag is clicked.