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.
On this page, you will program the first sprite to follow your mouse and program the second sprite to point in the direction of the first sprite in preparation for following it.
Diana Macias, an American born of Mexican parents, manages a team of 20 engineers that design visuals elements for Twitter (GIFs, stickers, and polls). She is the co-founder of Twitter Able, a group at Twitter for disabled employees and allies, and has served as the co-chair of Twitter's Latinx group, Twitter Alas. Macias has a B.S. in Computer Science and Mathematics from California State University, East Bay and over 15 years of experience in software development with a focus on user experience.
Look for the name in a gray box above the scripting area. Click inside the name and you'll be able to edit it.