Teach with scratch
Create an interactive story or simple game using Scratch blocks. Learn coding basics by programming sprites, adding sound, and testing projects.

About this tutorial
Create an interactive story or simple game using Scratch blocks. Learn coding basics by programming sprites, adding sound, and testing projects.
What you need
Step by step
- 1
Step 1
Open scratch.mit.edu or the Scratch app.
- 2
Step 2
Click "Create" to start a new project.
- 3
Step 3
Click the Choose a Sprite button and pick a sprite you like.
- 4
Step 4
Click the Backdrops tab and choose a backdrop for your story or game.
- 5
Step 5
Drag a "when green flag clicked" event block into the scripting area.
- 6
Step 6
Attach a motion block like "move 10 steps" to the event block.
- 7
Step 7
Put a "forever" or "repeat" control block around your motion blocks to make continuous movement.
- 8
Step 8
Drag a "play sound" block into the script and choose a sound to play.
- 9
Step 9
Add an interaction by dragging a "when this sprite clicked" or "when space key pressed" block and attach a reaction like "say" or "change costume".
- 10
Step 10
Click Choose a Sprite to add a second sprite and give it its own simple script.
- 11
Step 11
Click the green flag to test your story or game and watch what happens.
- 12
Step 12
Change block values or swap blocks to fix any problems you see while testing.
- 13
Step 13
Click the project title to name your project and click the Instructions box to type how to play.
- 14
Step 14
Click Share in Scratch to publish your project and then share your finished creation on DIY.org
Fun facts
How do I teach my child to create an interactive story or simple game using Scratch?
Start by opening the Scratch website or app and creating a new project. Choose or draw sprites and a backdrop. Plan scenes on paper, then use event blocks (when green flag clicked) to run scripts. Add motion, looks, and control blocks to move sprites and show dialogue. Insert sound blocks and use broadcast blocks for scene changes. Test frequently, fix bugs, and save or share the finished project.
What materials and tools do I need to create a Scratch project with my child?
You need a computer, laptop, or tablet with internet access and the Scratch website or app. Optional items include a Scratch account to save and share projects, headphones for sound, and a mouse for easier dragging. Have a notebook or sketch paper for storyboarding and a printer if you want to make handouts. No paid software is required; Scratch is free to use.
What age groups is Scratch suitable for when teaching coding to kids?
Scratch is best for children around 8โ16 years old who can read and type; younger children (ages 5โ7) can start with ScratchJr or work with adult guidance. Tailor projects: simple drag-and-drop stories for beginners, and add loops, conditions, or variables for older or more advanced students. Supervise online sharing and account setup to ensure safe use.
What are the benefits of teaching kids to build interactive stories or games in Scratch?
Creating interactive stories in Scratch builds computational thinking, sequencing, and problem-solving skills. Kids practice storytelling, creativity, and collaboration when planning characters and scenes. Debugging projects teaches persistence and logical reasoning. Scratch introduces programming basics like events, loops, and variables in a visual, low-pressure environment, boosting confidence and communication when children share and reflect on their projects.
Watch & Learn
Need help?
What can we use if we can't open scratch.mit.edu or don't have reliable internet?
Use the free Scratch Desktop app or the Scratch mobile app so you can still follow steps like 'Click Create' and 'Choose a Sprite' even offline.
Why does my sprite stay still when I click the green flag and how do I fix it?
Make sure the 'move 10 steps' motion block is snapped directly under the 'when green flag clicked' event (or placed inside a 'forever' or 'repeat' block) and then click the green flag at the top of the editor to test.
How do I change the activity to suit different age levels?
For younger kids, stick to 'Choose a Sprite,' one backdrop, a 'when green flag clicked' plus a single 'move' or 'say' block, while older kids can add variables, broadcasts, multiple sprites with their own scripts, and swap or edit block values for complexity.
How can we personalize or extend our story or game after the basic steps?
Personalize it by recording or selecting custom sounds with the 'play sound' block, adding costume changes with 'change costume' in a 'when this sprite clicked' script, adding a second sprite with its own script, then rename the project and click Share to publish it.