Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more


To start, add a new critic sprite. Click on “choose new sprite from library,” and add a new sprite. This project will use Boy2, but you can pick any sprite you would like for your project.

Next, make a list for this sprite. Make sure your new sprite is selected. Then, click on the data menu, and choose “make a list.” Name your list something related to what it will be about, like “Critique.” Then, click “OK.”

Computer science uses lists in many ways.

To create the critic list, use the plus button in the list to add the phrases that you want the critic to say when they appear on the stage. If you want to delete an item, click inside of it and click the "x" to remove it. Add as many items to your list as you would like.

Make these items things that would like sound feedback or comments that someone might say to a stylist.

You can hide or show this list at any time using the checkbox next to the name of the list. Once you complete your list, code the critic sprite to say random items from it. Drag out a “say” block, then place the “item of list” block inside it. To make your critic sprite say random items from the list instead of going down the items in order, click the dropdown button on the “item” block, then click “random.” Test your code. When you click on the blocks, the critic says a random item from your critique list. To make the critic say these items while you’re styling, use “broadcast” and “when I receive” blocks.

Click on the accessory sprite. Then, from the events menu, drag out a “broadcast message” block, and add it under the “stamp” block in your original code.

which comes in handy if you want to tell a sprite when to do something. The critic will only say something after you place an accessory on your model. Name your message anything that describes what your broadcast will do, like “critique,” by clicking on the dropdown inside the block, then clicking “new message.” Once you have a name, click on the critic sprite, and drag out a “when I receive” block. The “when I receive” block runs the code under it only when the broadcasted message is sent. Make sure the broadcast and receive messages match. In this case, they both say “critique.”

Test your code. Click the green flag, and whenever an accessory is stamped on your model, the critic sprite gives feedback. To hide your critic until it says something, add “show” and “hide” blocks to your code stack. Adding a “show” block before the critic says something and a “hide” block at the end makes the critic appear, give feedback, then disappear so you can see the entire stage backdrop.

Play around with your project and ask a neighbor to test out your code and style your model!

Choose an Add-On
Create a new accessory for your project.
Flashy Mouse
Program your stylist tool create a colorful trail as it moves around the screen.
Stylist Game
Make your stylist tool into a game that lets the user race against the timer to style the model.
Animate Model
Program your model to animate when you place an accessory on it.
Stylist Critique
Create a stylist critic and program it to give feedback for the stylist project.
Sound (Challenge)
Add sound to your project.
arrow_backward Back
Next arrow_forward
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!