Coding Ireland STEM Report 2024 Have Your Say
Scratch Video
Beginner
30 mins
115 points
What you need:

Scratch Tutorial

Learn how to start coding to make your own coding projects.

1 - What is Scratch?

Scratch is a coding website that we can use to create our own games, animations and projects.

Watch this short minute video to get a quick introduction to it.

2 - Open the Scratch website

Now let's take a look at the Scratch website!

Open the Scratch website by clicking on the link below. Once it opens up click on the Create link at the top of the page. This will open up the project editor. Once you've done that come back to this tab and move onto the next step.

scratch.mit.edu

3 - Add a sprite to your project

Scratch comes with a sprite library that's packed full of different characters.

Open up the sprite library and choose a sprite that you'd like to add to your project.

You'll see that it gets added into the stage area and we can now give it some code!


4 - Make the sprite move

Now let's try making the sprite move. Add the following code blocks to the code area by dragging and dropping them. The colour of the blocks let's you know which "block category" to open.

Hint: the Events and Motion categories.

You'll notice that they click in and join together when you drop them close to each other. Don't worry if it takes a few attempts to drag and drop them in. You'll get used to adding the code blocks in no time at all.

when green flag clicked move (10) steps turn cw (15) degrees

Once you've added these blocks click the green flag at the top left of the stage area to 'run' the code. Each time you click the green flag it will run the code and your sprite will move a small bit and turn.


5 - Change the values inside the blocks

You may have noticed the numbers inside the blocks you added. To blocks use these numbers to decide how much to move or to turn.

Change the numbers like below and then try clicking the green flag again. You will notice that the sprite moves and turns even more now.

when green flag clicked move (50) steps // change this to 50 turn cw (25) degrees // change this to 25


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