Scratch exercise 05

Layer control

If you have more than one character or object on the stage, you can decide which is in front.

Complete these steps ..

1. Create a new game. Either open Scratch or if it is already open choose "File>New" ..

 

Now re-name sprite1 "Cat".


 


2. Click the "Paint new sprite" button under the stage and wait until the paint window opens.
paint new sprite icon

 


3. Explore the paint tools. Find the paint brush, and the eraser. Find out how to change the paint brush and eraser sizes and how to choose colours ..



 

4. Paint an object . We have painted a sun ..

 

 

5. When you are finished, click OK and then name your sprite.

 

 

6. Drag Mr Cat and the new object you have created on top of one another on the stage.



7. Add the following script onto Mr Cat ..

layer control

 

 

8. Add the following script onto your object ..

script

 


9. Press the "C" key to make Mr Cat come to the front. Press the "S" key to make your object come to the front.

 

 

10. Go to "File>Save as" and save your game. Name it "Layer control" ..