Press the green flag and help the dragon lead a game of freeze dance! Click once on the dragon, and the dinosaurs will begin to dance. Click the dragon again, and the dinosaurs will freeze.
I wanted to write the program so that clicking on the control sprite would allow the user to start and stop the dinosaurs dancing. I started out using message broadcasting, but ended up ditching that idea and using a global variable instead to toggle between "dance" and "freeze." I didn't know any other way to differentiate between the messages broadcast by a single sprite depending upon whether it had been clicked once or twice. At one point I was using both a global variable AND broadcasting, but only succeeded in getting myself thoroughly confused. So, I ended up ditching broadcasting altogether.