Coding for Kids Scratch Jr: What It Is and How to Start
In this article
ScratchJr is a free coding app for children ages 5–7 that lets them create interactive stories and games by snapping together colorful blocks. It was designed specifically for young kids who are not yet reading fluently, so every block is labeled with an icon and a word. The app runs on iPads, Android tablets, and some Chromebooks; it does not run on phones or desktop computers.
What ScratchJr Teaches That Other Coding Tools Don't
ScratchJr teaches the core logic of programming—sequence, events, loops, and conditions—without requiring typing or abstract syntax. A child drags blocks onto a scripting area, and each block tells a character (a sprite) to move, jump, speak, or change size. The app's interface is minimal: a stage at the top, a palette of block categories on the left, and a scripting area at the bottom. Because the blocks snap together like puzzle pieces, a child can only combine them in ways that make sense, which prevents syntax errors and frustration.
Unlike Scratch (the full version for ages 8+), ScratchJr has no variables, no text input, and no complex math. It focuses on the five fundamental concepts: sequencing (order of actions), events (triggering actions), loops (repeating actions), conditions (if-then logic), and parallelism (multiple characters acting at once). These are the same concepts used in professional programming, just presented with pictures and sounds.
How to Set Up ScratchJr on a Tablet
ScratchJr is available for free from the Apple App Store, Google Play Store, and the Amazon Appstore. Search for “ScratchJr” and install it; the app is about 50 MB and works offline after download. On a tablet, open the app and tap the home icon (a small house) to see the project gallery. Tap the plus sign (+) to start a new project. The interface has three main areas: the stage (top right), the palette of blocks (left), and the scripting area (bottom). To add a character, tap the plus icon in the top-left corner of the stage and choose from the built-in library, or draw your own using the paint editor.
After adding a character, select it by tapping it on the stage. Then drag blocks from the palette into the scripting area. For example, drag a yellow “start on green flag” block (the first block in the Events category) to the top of the scripting area. Then drag a blue “move right” block (from the Motion category) and snap it below. Tap the green flag at the top of the stage to run the script. The character will move right by a fixed number of steps (the default is 15 pixels). To change the distance, tap the number on the block and type a new value (e.g., 50).
Labels can differ slightly by version, but the block colors are consistent: Motion is blue, Looks is purple, Sound is green, Control is orange, End is red, and Events is yellow. The green flag is the universal “run” button; the red circle stops all scripts.
Step-by-Step: Build a Simple Story in ScratchJr
Here is a concrete project that teaches sequencing and events. It takes about 15 minutes for a child to complete with minimal help.
Step 1: Choose a background. Tap the background icon (the landscape picture) at the top of the stage. Pick a park or garden scene.
Step 2: Add a character. Tap the plus icon and choose a cat or a dog. The character appears on the stage.
Step 3: Make it walk. Tap the character to select it. Drag a yellow “start on green flag” block to the scripting area. Then drag a blue “move right” block and snap it below. Change the number to 50. Then drag another blue “move right” block and snap it below the first. Now the character will move 100 steps total when you press the green flag.
Step 4: Add a sound. Drag a green “play sound” block (from the Sound category) and snap it after the movement blocks. Choose a “pop” sound from the dropdown menu.
Step 5: Add a speech bubble. Drag a purple “say” block (from the Looks category) and snap it at the end. Tap the text field and type “Hello!” or choose a preset phrase. The speech bubble appears on the stage when the script runs.
Step 6: Run the project. Tap the green flag. The character moves right, pops, and says “Hello!”. To reset, tap the red circle and then the green flag again.
This simple sequence demonstrates the order of commands: the character only speaks after it moves, so the child learns that the order of blocks matters. To see the effect of order, swap the speech block to the top and run it again—the character speaks first, then moves.
Where Kids Get Stuck and How to Fix It
The most common mistake is forgetting to select the character before adding blocks. If a child drags a block but nothing happens when they press the green flag, the block may be attached to a different sprite. Check the bottom of the scripting area: the name of the selected character is shown there. Tap the character on the stage to reselect it, then drag the block again.
Another frequent issue is putting blocks in the wrong order. For example, a child might place a “start on green flag” block in the middle of a script. ScratchJr only runs scripts that start with a yellow event block; if the event block is not at the top, the script may not run at all. Teach the child to always start with a yellow block at the top, then add actions below.
A third confusion is the difference between the green flag and the “start on tap” event. The green flag runs all scripts that start with a green flag block. The “start on tap” (a yellow block with a hand icon) runs only when the child taps the character. If a project has both, tapping the character will trigger only the tap script, not the green flag script. Explain that each event block is a separate trigger.
Finally, children often expect the character to move continuously while the green flag is held down. In ScratchJr, the green flag is a start button, not a remote control. To make continuous movement, use a “forever” loop: drag an orange “repeat” block (from the Control category) and set it to “forever” by tapping the number and choosing “forever” from the menu. Then place a “move right” block inside the loop. The character will move right until it hits the edge, then stop because it cannot move further. To make it bounce, add a “bounce on edge” block (from the Motion category) inside the loop.
What to Do After the First Project
Once a child can make a character move and speak, introduce the concept of events by adding a second character. Tap the plus icon to add a new sprite, then create a script for that sprite that starts with a yellow “start on tap” block and makes it jump (a blue “jump” block). Now the child can tap the second character to make it jump while the first character walks. This teaches parallelism—two scripts running at the same time.
Next, try a loop: use the orange “repeat” block to make a character spin three times. Set the number to 3, and inside the loop place a “turn right” block (from the Motion category). The character will rotate 90 degrees each time, completing a full circle. Then change the repeat number to 10 and see how the movement changes.
For a challenge, create a simple game: a character that moves left and right using the “start on tap” event, and another character that falls from the top. Use the “start on green flag” to make the falling character move down repeatedly. The child will learn to coordinate multiple scripts and think about timing.
ScratchJr also has a paint editor that allows children to draw their own characters and backgrounds. This is a great way to make the project personal. To access it, tap the pencil icon when adding a character or background. The editor includes a brush, eraser, shapes, and a text tool. Children can also record their own sounds using the microphone icon in the Sound block.
If the child outgrows ScratchJr, the natural next step is Scratch (scratch.mit.edu), which runs on desktop computers and offers more advanced features like variables, lists, and custom blocks. Scratch is free and uses the same block-based logic, so the transition is smooth. Many children move to Scratch around age 8 or 9, but there is no fixed age—let the child's interest guide the move.
Finally, remember that ScratchJr is designed for play, not for formal lessons. Let the child explore freely, make mistakes, and fix them. The app includes a “?” button in the top-right corner that shows a tutorial with sample projects. Encourage the child to open those examples and modify them—that is how they will learn the most.