Transcript file
A dancer begins to dance on the stage when the green light is clicked The dancer stops dancing when the red light is clicked The stage should be a spotlight-stage The sprite should be the breakdancer ◦ Use all 4 different costumes Create a new circular red sprite Create a new circular green sprite Add script to the breakdancer sprite so that the breakdancer’s costume changes forever when the green flag is clicked You must add a small delay before the costume changes Add sound that plays continuously Create a new variable called “dance” When the green light is clicked, value of dance variable should be set to 1 The red light has the same script as green light, except that the dance variable is now set to 0 Replace the forever loop with forever-if loop, so that the dancer begins dancing only when dance variable value is 1 Use your pictures instead of the breakdancer