arrow_back Going through the Motions
In this prompted add-on, you will animate the pitcher to look like he or she is throwing the ball. Click on the pitcher sprite, then on the costumes tab. The pitcher sprite has two costumes, one holding the baseball and the other after throwing it. The ball sprite knows when it is about to move. The pitcher sprite does not. Make the ball *broadcast* when it is ready to move, so the pitcher knows when to change costumes. To animate the pitcher, switch costumes to the one that looks like the ball was just thrown, and wait before returning to the previous costume. Think about what blocks would make this happen.
Here’s the game plan: Broadcast to the pitcher when it’s time to change costumes. Change costumes to make it look like the pitcher is pitching.