Scratch Geography
Beginner
45 mins
155 points
What you need:
  • Computer/laptop

Where I've Been

In this project you will place a flag in all the different places that you've been in Ireland or in the world!

1 - Create a new Scratch project

We've created a starter project that has a map of Ireland and a map of the world. Open this starter project by clicking on the following link:

https://scratch.mit.edu/projects/290295650/editor/

2 - Add the Green Flag sprite

Add the sprite called 'Green Flag' from the sprite library.


3 - Create a Red Flag costume

We now need to create an extra costume for this sprite, a version of it that is a red flag.

Duplicate the Green Flag costume and then use the paint bucket tool to change the colour of the flag red.

Don't forget to name the new costume 'Red Flag'!


4 - Add the Pen Extension

Add the Pen Extension so that we can use the Pen blocks and then add the following code to the flag sprite to set it up for the start.

when green flag clicked erase all switch costume to (green flag v) set size to (20) %


5 - Move the flag

We're going to give the flag instructions so that it goes to wherever your mouse pointer is. Add the following code underneath the code in the previous step:

when green flag clicked erase all switch costume to (green flag v) set size to (20) % // add the new code under here forever go to (mouse pointer v) end

Test out your code and make sure that the flag is following your mouse pointer!


Join our club 😃

To view the remaining 3 steps and access hundreds of other coding projects please login or create an account.

Copyright Notice
This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at https://scratch.mit.edu
Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more