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

In this add-on, you will program the sprite to change its profile picture.

If you click on the profile image sprite, you will see different costumes that came with the starter project.

As you click through the different costumes the sprite on your starter project also changes its costume.

It doesn't make sense for the user to click through the costumes to change them, but you can program this to happen using a keypress event.

To start, drag out a Next Costume block from the Looks menu.

Click it to test it out.

This block changes the look of the sprite by changing its costume.

Great.

To keep the user from having to keep clicking the block to change the costume, add a When Space Key Pressed event.

Click the triangle to change the keypress event.

This example uses the right arrow key, but use any event that works with your program.

Awesome.

When you test it by clicking the right arrow key, the sprite changes its costume.

Users are now able to customize the profile page by changing the look of the Profile sprite.

Now it's your turn.

Click on the Profile sprite, and program it to change its look using the Next Costume block and the When Key Pressed event.

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

Ping

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

Hidden Feature

Code a surprising action on your profile page!

Instructions

  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!