Scratch Silver III
Scratch Silver II
SCRATCH SILVER I
SCRATCH GOLD III
1 of 3

4.03 Make silly eyes

Make the silly eyes! Each eye needs to be a separate sprite so that it can move separately.

A character with silly eyes.

Draw an eyeball

Use the Paint option to create a new sprite.

The 'Paint' option in the 'Choose a Sprite' menu.

The Paint editor will open, which will allow you to create your Eyeball sprite’s costume.

It is really important that:

  • The black pupil and coloured iris face to the right-hand side of the Eyeball costume
  • The Eyeball costume is centred

Choose: Draw an eyeball or start from a round sprite.

Example eyeballs. One drawn from scratch, another taken from the beachball and the third from a baseball.

Name your sprite Eyeball in the Sprite pane.

The sprite's name set to 'Eyeball' in the Sprite pane.

Drag the Eyeball sprite to position it on the Stage, and change its size to fit your character.

Now, make the eyeball look at the mouse-pointer so that the user can interact with your project.

User means the person using the project (not just making it), and user interaction is how the project reacts to the user doing things such as moving the mouse and clicking on the screen.

Code your eyeball

Add a script to set the rotation style to all around to make the eyeball point towards the mouse pointer forever.

Make a sprite point towards the mouse pointer

Add another eyeball

To add another eye, right-click (or on a tablet, tap and hold) on the Eyeball sprite in the Sprite list and choose duplicate.

Example eyeballs in pairs. One drawn from scratch and another made from the ball sprite.

Test your silly eyes

Test: Click on the green flag and test your project. Do the silly eyes follow your mouse pointer as you move the mouse around?

Tip: You don’t have to keep the mouse pointer on the Stage. The eyes will follow your mouse pointer as you carry on coding in Scratch.

Debug: You might find some bugs in your project that you need to fix. Here are some common bugs:

The eyes do not move

Make sure that you have added the code to the Eyeball sprites and clicked on the green flag. Your code will not run until you click on the green flag.

×
×

Cart