In Scratch, blocks are the basic units of code that you can use to create programs. To code on Scratch you drag and drop blocks to place them together to make your program. Today we'll reveal more about how you program on Scratch, categories of Scratch blocks to use, and basics steps for getting started. Plus, we'll share some fun beginner projects!

For live expert guidance join our award-winning small group Scratch coding class, designed by professionals from Google, Stanford, and MIT:

How to Use Scratch Blocks to Code

There are several different categories of Scratch coding blocks, including Motion, Looks, Sound, Events, Control, Sensing, Operators, and Variables, and each has a different purpose (each also has a different color making it easy to understand which you're using).

How to code on Scratch

Here is a brief overview of each category:

  • Motion blocks (Blue): These blocks allow you to control the movement of a sprite (character or object) on the stage. For example, you can use motion blocks to make a sprite move in a certain direction or go to a specific position.
  • Looks blocks (Purple): These blocks allow you to change the appearance of a sprite, such as by changing its costume or size.
  • Sound blocks (Pink): These blocks allow you to play sounds or music in your program.
  • Events blocks (Yellow): These blocks allow you to set up events that trigger your program to run, such as when the green flag is clicked or when a certain key is pressed.
  • Control blocks (Tangerine): These blocks allow you to control the flow of your program, such as by repeating a section of code or stopping the program.
  • Sensing blocks (Teal): These blocks allow you to create programs that respond to input from the user or the environment. For example, you can use sensing blocks to check if the mouse is clicked or if a sprite is touching another sprite.
  • Operators blocks (Green): These blocks allow you to perform mathematical operations or compare values in your program.
  • Variables blocks (Orange): These blocks allow you to create variables (named values that can change) in your program and use them to store and manipulate data.

Here Are the Basic Steps for How to Code on Scratch

  1. Go to the Scratch website and create an account.
  2. Once you're logged in, click on the "Create" button to start a new project.
  3. You'll see a stage on the right side of the screen and a toolbar on the left. The stage is where you can create and preview your animations and games.
  4. To start coding, drag blocks from the toolbar and snap them together to create a program. There are different blocks for different functions, such as controlling the movement of a character or playing a sound.
  5. To test your code, click on the green flag button in the top right corner of the stage. This will run your program and show you how it looks and behaves.

Once you have your free Scratch account set up, watch this video for some  tips and tricks that will save you time and help you make cooler games. Do you know how to make your own background, change your character by adding a hat, or even add your own recorded sounds to your games?! Find out!

Get Started with Fun Beginner Scratch Projects

Not sure where to begin? Jump right in with a tutorial you can follow step by step, and even add your own creative variations to! Here are a few of our favorites:

  1. Make a game on Scratch: This simple tutorial will walk you through making your first game.
  2. How to make a sprite jump in Scratch: Learn how to make any character jump - a feature you can add to any game or animation you want to create.
  3. Make a piano in Scratch: Love music? Give your hand at making your very own playable music device online.
  4. Make a Mario game: Everyone loves this classic video game! Create your own variation.
  5. Make falling snow in Scratch: Perfect for any winter project, find out how to make snowflakes fall.

How Do You Code on Scratch? Now You Know!

It may seem overwhelming to get started with coding on Scratch. But now that you know it's a beginner-friendly platform, hopefully you'll help your student give it a try! For live expert guidance learning Scratch, join our award-winning online class designed for kids to build their creativity and problem solving skills: