How to Use Scratch

Scratch is a great educational tool developed by MIT. It enables nearly anyone to experiment with the basics of vector art, animation, and game development. You can create projects by yourself, or you can collaborate with other creators...

Signing Up for an Account and Accessing Scratch

  1. How to Use Scratch Picture 1How to Use Scratch Picture 1
    Navigate to http://scratch.mit.edu/ in a web browser. This is the web page for Scratch. You can access Scratch directly from the website, or you can download the offline editor for Windows, macOS, Android, and Chromebook.
  2. How to Use Scratch Picture 2How to Use Scratch Picture 2
    Click Join Scratch. It's in the upper-right corner. Click this option to create a Scratch account.
    1. You don't need to create an account to use Scratch, but it allows you to save projects online and share your work. Click Create in the upper-right corner to open the Scratch editor without creating an account. You can still save your work to your computer.
  3. How to Use Scratch Picture 3How to Use Scratch Picture 3
    Create a username and password and click Next. Use the field at the top to enter your desired username. You can use anything as your username, but do not use your real name. Then use the next two fields to create a password. Make sure you enter the same password in both fields. Click Next when you are done.
  4. How to Use Scratch Picture 4How to Use Scratch Picture 4
    Select your country and click Next. Use the drop-down menu to select your country. Click the orange button that says Next when you are finished.
  5. How to Use Scratch Picture 5How to Use Scratch Picture 5
    Select your birthday and click Next. Use the drop-down menus to select the month and year of your birthday. Click the orange button that says Next when you are done.
  6. How to Use Scratch Picture 6How to Use Scratch Picture 6
    Select your gender and click Next. Click the radio option next to your preferred Gender option and click the orange button that says Next. You can select "Male", "Female", "Non-binary", "Another Gender [specify in the box]", or "Prefer not to say".
  7. How to Use Scratch Picture 7How to Use Scratch Picture 7
    Enter your email address and click Create my account. Use the field to enter a valid email address. Then click the orange button that says Create my account when you are finished. You will be signed in automatically and directed to the Scratch Editor online.
    1. You can also download the offline editor from https://scratch.mit.edu/download. To do so, click Windows, macOS, ChromeOS, or Android. Then click Direct download. Open the downloaded file and follow the directions.
  8. How to Use Scratch Picture 8How to Use Scratch Picture 8
    Type a name for the project in the bar at the top. It's to the right of the menu bar at the top.

Creating Graphics

  1. How to Use Scratch Picture 9How to Use Scratch Picture 9
    Understand the two types of graphics. Video game design uses two types of graphic images, sprites and backgrounds. Scratch has a variety of premade sprites and backgrounds you can choose from. You can also make your own graphics inside of Scratch or using an external graphics editor.
    1. Backgrounds: Backgrounds set the scene that your game takes place in. They are generally a static image that take up the entire screen or play area. Click the icon that resembles a photograph in the lower-right corner to view a list of pre-made backgrounds. Click a background image to select it.
    2. Sprites: Sprites are objects that go on top of the background. They can be a playable character, non-playable characters, enemies and obstacles, power-ups, or other interactive objects. To select a premade sprite, click the icon that resembles a cat in the lower-right corner to view a list of premade sprites. Then click a sprite you want to use. All sprites in your project are listed below the play area in the upper-left corner. To delete a sprite, click the icon
  2. How to Use Scratch Picture 10How to Use Scratch Picture 10
    Understand the two graphic formats. Scratch allows you to make 2D games. The two types of 2D graphics you can create are raster and vector images.
    1. Raster: Raster images are made up of pixels. Raster graphics are the most widely used graphic image format. The downside is they tend to have a fixed size. Enlarging raster images can make them look pixelated or fuzzy. Raster file formats supported by Scratch include JPEG/JPG, GIF, and PNG. You can create raster graphics using Paint on Windows or Preview on Mac. Though you may prefer a more robust image editor such as Photoshop or GIMP, which is a free alternative to Photoshop.
    2. Vector: Unlike raster images, vector graphics are not made of pixels. They are made up of data points called vectors that are connected to create lines and shapes. While they're not as widely used as raster images, they are extremely useful in game design because they can be enlarged to any size and can be edited in ways that raster images can't. Scratch supports scalable vector graphic (.svg) image formats. You can create vector graphics using Adobe Illustrator, or Inkscape which is a free alternative to Illustrator.
  3. How to Use Scratch Picture 11How to Use Scratch Picture 11
    Start a new graphic in Scratch. To create a new background or sprite using the built-in graphics editor, hover the mouse cursor over the icon that resembles a photograph for backgrounds or the icon that resembles a cat for sprites. Then click the icon that resembles a paintbrush to open the built-in graphics editor.
    1. To import an external graphic image, click the icon that resembles a trey with an arrow pointing up over it. Then select a JPEG/JPG, GIF, PNG, or SVG image and click Open.
  4. How to Use Scratch Picture 12How to Use Scratch Picture 12
    Use the paintbrush tool. The paintbrush tool is used to draw objects freehand. To select the paintbrush tool, click the icon that resembles a paintbrush in the toolbar to the left of the drawing area in the middle. Click and drag to draw freehand using the paintbrush tool. This creates shapes in vector format.
  5. How to Use Scratch Picture 13How to Use Scratch Picture 13
    Use the shape tools. There are two shape tools in Scratch, the rectangle tool and the ellipse tool. The rectangle tool can be used to make squares and rectangle shapes. The ellipse tool can be used to make circles and ovals. Click the icon that resembles a square or a circle in the toolbar to the left of the drawing area. Then click and drag in the drawing area to create a rectangle or oval shape.
    1. Hold the "Shift" key while you drag to create a perfect square or circle.
  6. How to Use Scratch Picture 14How to Use Scratch Picture 14
    Use the line tool. The line tool can be used to create straight lines. To use the line tool, click the icon that resembles a straight line in the toolbar to the left. Then click and drag to create a line.
  7. How to Use Scratch Picture 15How to Use Scratch Picture 15
    Use the eraser tool. The eraser tool is used to erase parts of a shape or line you've already drawn. To use the eraser tool, click the icon that resembles an eraser in the toolbar to the left. Then click and drag over an image or part of an image you want to erase.
  8. How to Use Scratch Picture 16How to Use Scratch Picture 16
    Use the reshape tool. The reshape tool is used to alter the shape of a vector object. To use the reshape tool, click the icon that resembles a mouse cursor clicking a dot. This displays all the vector points in your drawing. Click and drag the vector points to change the shape of an object.
    1. To change a line from straight to curved, click a vector point with the reshape tool. Then click Curved above the drawing area. Click Pointed to make a curved line straight.
  9. How to Use Scratch Picture 17How to Use Scratch Picture 17
    Use the select tool. The select tool allows you to select and move objects you've drawn in the drawing area. To use the select tool, click the icon that resembles a mouse cursor in the toolbar to the left. Then click an object you want to select. Click and drag to select multiple objects or hold Shift while selecting your
    1. To group multiple objects into one object, use the select tool to select all the objects you want to group together. Click Group above the drawing area to group them. Click Ungroup to separate objects that have been grouped together.
    2. Unlike raster graphics which are made of pixels, vector graphics are made of shapes that can be stacked on top of one another. To move an object behind or in front of another object, select it with the select tool. Then click Forward or Backward to move the object up or down one layer. Click Front or Back to move the object all the way to the top or bottom of your objects.
  10. How to Use Scratch Picture 18How to Use Scratch Picture 18
    Select a color. To select a color, click an object with the select tool, or select a drawing tool in the toolbar. Then click the box that says Fill to select the color inside of an object. Click the box that says Outline to select a color for the line around the object.
    1. To select a color, use the slider bar below "Color" to select the color hue. Use the slider bar below "Saturation" to select the how much color is applied. Use the slider bar below "Darkness" to select how dark the color hue is.
    2. To remove the color, click the white box with a red line through it in the lower-left corner of the color selection menu.
  11. How to Use Scratch Picture 19How to Use Scratch Picture 19
    Select line thickness. To change the line thickness, select an object with an outline, or select the line or shape tools. Then type a number in the box next to "Outline" or use the up and down arrows to change the line thickness.
    1. For the Paintbrush tool, use the box next to the icon that resembles a paintbrush at the top to alter the thickness of the paintbrush strokes.
  12. How to Use Scratch Picture 20How to Use Scratch Picture 20
    Use the paint bucket tool. The paint bucket tool is used to fill a shape with a color. To use the paint bucket tool, click the icon that resembles a pouring paint bucket in the toolbar. Use the "Fill" color picker to select a color. Then click inside the object you want to fill.

Assembling a Scene

  1. How to Use Scratch Picture 21How to Use Scratch Picture 21
    Click the Backdrops tab. It's the second tab in the upper-left corner.
  2. How to Use Scratch Picture 22How to Use Scratch Picture 22
    Select a background. All backgrounds you loaded are listed in the panel to the left when you click the "Backdrops" tab.
    1. To rename a background, use the bar next to "Costume" above the drawing area to type a new name for the background.
  3. How to Use Scratch Picture 23How to Use Scratch Picture 23
    Add a sprite to the scene. All sprites you've uploaded are listed below the play area in the upper-right corner. Click and drag a sprite into the play area to place it in the scene. Drag it to the location you want it to go. You can change the location any time by clicking and dragging the object in the play area.
  4. How to Use Scratch Picture 24How to Use Scratch Picture 24
    Change the size of a sprite. To change the size of a sprite, time the percent number of the sprite in the box next to "Size".
  5. How to Use Scratch Picture 25How to Use Scratch Picture 25
    Change the direction of a sprite. To change the direction of a sprite, click the box next to "Direction". Then click and drag the arrow around the compass to the direction you want the sprite to point. Click the icon that resembles two arrows pointing towards each other below the compass to flip him in a mirror direction.
  6. How to Use Scratch Picture 26How to Use Scratch Picture 26
    Rename a sprite. To rename a sprite, type the name of the sprite in the box next to "Sprite" below the play area.

Creating and Selecting Sounds

  1. How to Use Scratch Picture 27How to Use Scratch Picture 27
    Click the Sounds tab. It's the third tab at the top in the upper-left corner.
  2. How to Use Scratch Picture 28How to Use Scratch Picture 28
    Click the icon that resembles a speaker. It's in the lower-left corner when you click the "Sounds" tab.
  3. How to Use Scratch Picture 29How to Use Scratch Picture 29
    Use the tabs at the top to browse sounds. The tabs at the top of the Sounds menu allows you to browse sounds by category.
  4. How to Use Scratch Picture 30How to Use Scratch Picture 30
    Hover over the play icon to preview a sound. It's the purple icon in the upper-right corner of each sound option.
  5. How to Use Scratch Picture 31How to Use Scratch Picture 31
    Click a sound to select it. This loads the sound in the panel to the left and opens it in the sound editor.
    1. To upload your own sound, hover the mouse cursor over the speaker icon in the lower-left corner. Then click the icon that resembles a trey with an arrow pointing up. Click a sound file and click Open. Scratch supports .wav and .mp3 files.
    2. To record your own sound, hover the mouse cursor over the speaker icon in the lower-left corner. Then click the icon that resembles a microphone. Click the record button to start recording. Click the stop button to stop recording. Click the play icon to preview the recording. Click and drag the red bars to the left and right of the sound wave to select the starting and stopping point of the sound clip. Then click Save.
  6. How to Use Scratch Picture 32How to Use Scratch Picture 32
    Name a sound. To name or rename a sound type a name for the sound in the bar next to "Sound" at the top of the Sound editor menu.
  7. How to Use Scratch Picture 33How to Use Scratch Picture 33
    Alter the sound. There are several options below the sound wave that alter the sound. These options are as follows:
    1. Faster: This option speeds up the sound.
    2. Slower: This option slows down the sound.
    3. Louder: This option raises the volume of the sound.
    4. Softer: This option lowers the volume of the sound.
    5. Mute: This lowers the volume to 0.
    6. Fade in: This option makes the sound start quiet and get louder.
    7. Fade out: This option makes the sound get quiet at the end.
    8. Reverse: This option plays the sound backward.
    9. Robot: This option adds a metallic sound effect.

Creating Code

  1. How to Use Scratch Picture 34How to Use Scratch Picture 34
    Click the Code tab. It's the first tab at the top in the upper-left corner. This displays the code menu.
  2. How to Use Scratch Picture 35How to Use Scratch Picture 35
    Click a sprite you want to apply code to. Sprites are listed below the play area to the left.
  3. How to Use Scratch Picture 36How to Use Scratch Picture 36
    Drag an event block into the code area. In Scratch, coding is done in visual blocks. Event blocks are listed below "Events" in the list of blocks. These indicate an action that triggers a script. Examples include, "When [green flag icon] is clicked", "When [keyboard key] is pressed", or "When this sprite is clicked".
    1. Some blocks have drop-down menus you can use to select an option or a white text box you can use to input your own value. For example to assign an action to a keyboard key, drag the block that says "When [space] is pressed" into the code area. Then use the drop-down menu in the block to select a keyboard key.
  4. How to Use Scratch Picture 37How to Use Scratch Picture 37
    Attach an action block below the event block. Action blocks make something happen when the event is triggered. It can make objects in the play area move, trigger a sound effect, display text, or change the score. Attach an action block to the bottom of the event block so the notches line up. Use the following steps to create simple movement controls:
    1. Select a sprite.
    2. Add an event block that says "When [right arrow] is pressed" to the coding area.
    3. Attach a block that says "point in direction (90)' below the event block.
    4. Attach another block that says "move (10) steps".
    5. Add a new event block that says "When [left arrow] is pressed" to the coding area.
    6. Attach a block that says "point in direction (90)" below the event block.
    7. Click the white circle that says (90) and drag the arrow so it points to the left. The block should now say "point in direction (-90)"
    8. Attach another block that says "move (10) steps".
  5. How to Use Scratch Picture 38How to Use Scratch Picture 38
    Click the green flag icon above the play area. This starts your program and allows you to test it. There are many combinations of blocks you can use. Try to experiment and watch lots of tutorials to learn how to get good at coding in scratch.
  6. How to Use Scratch Picture 39How to Use Scratch Picture 39
    Click the red flag icon above the play area. This stops your program.

Saving and Loading Your Work

  1. How to Use Scratch Picture 40How to Use Scratch Picture 40
    Click File. It's in the menu bar at the top.
  2. How to Use Scratch Picture 41How to Use Scratch Picture 41
    Click Save to your computer. Use this option to save a copy of your Scratch program to your desktop computer.
    1. Alternatively, if you are using the online editor and you are logged in, you can click Save Now to save your work online.
  3. How to Use Scratch Picture 42How to Use Scratch Picture 42
    Type a name for your file. It goes in the field next to "File name".
  4. How to Use Scratch Picture 43How to Use Scratch Picture 43
    Click Save. This saves your Scratch file as a ".sb3" file.
  5. How to Use Scratch Picture 44How to Use Scratch Picture 44
    Click File. It's in the menu bar at the top.
  6. How to Use Scratch Picture 45How to Use Scratch Picture 45
    Click Load from your Computer. Use this option to load a saved file.
  7. How to Use Scratch Picture 46How to Use Scratch Picture 46
    Select a ".sb", ".sb2", or ".sb3" file. These are the file types that correspond to Scratch, Scratch 2, and Scratch 3.
  8. How to Use Scratch Picture 47How to Use Scratch Picture 47
    Click Open. This opens your file in Scratch.
4 ★ | 1 Vote