Skip to content
Please note: This theme has not been updated to reflect Scratch 3.0. Visit this help article for more info.

In this add-on, you will code a friend on the profile page to respond to your favorite stuff.

In the starter project, there are friend sprites in your program that you can select.

You want the friend to say something when the friend sprite is clicked.

Add a when this sprite clicked event from the Events menu.

Then add a say block from the Looks menu.

You can type anything in this space.

This example uses, We should hangout this weekend!

When you click on the sprite to test it, it says, We should hangout this weekend!


To make the sprite respond to some of the variables on the profile page, drag out a join block from the Operators menu.

Then add another say block to your block stack and put the join block inside the new say block.

A join block links the two values inside it and displays the result.

It has two spaces where you can add values like words, numbers, or variables.

This example will use one of the variables to say my favorite food is also whatever you put as your food variable.

Type, My favorite food is also, in the first value in the join block.

And drag the Food variable block inside the second value space.

Now test your code.

When the friend sprite is clicked, the sprite says, We should hangout this weekend!

My favorite food is also Tacos.

Yeah, it works!

Write instructions for how to use your project and show appreciation for anyone who helped you create it on the project page.

Okay, now it's your turn.

Code the friend sprites to ping the user when clicked by adding a when sprite clicked event, a say block, a join operator, and a variable block.

Add code for as many of the friend sprites as you would like.

Feel free to add other blocks from the Looks and Motion menu to your code.

Choose an Add-On

+1 Button

Program a "plus 1" button so users can express that they liked your page.

Pump the Jams

Add music to your profile page.

Change Profile Picture

Code your profile android to change its look


Program your friend's sprites to respond to your favorite stuff!

Hidden Feature

Code a surprising action on your profile page!


  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!