Lab 5: Follow the Leader

Unit 1, Lab 5

In many programs, the visual elements on the screen need to interact—follow each other, avoid each other, react a certain way when they meet each other, etc.

In this lab, you will program two sprites. One sprite will follow your mouse. The other sprite will chase the first. When they meet, they will have a short conversation.

animation of a cartoon tiger chasing a cartoon bat that is following the mouse pointer