Throw the Baseball

Sports - Batter Up (Activity 6)

Video speed:


Program the baseball to pitch towards home plate.


  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.


Hey, club member! Sign in to get a badge for each activity you do!