How to Make Animation in Scratch: A Step-by-Step Guide for Kids

Reading Time: 12 mins

Child learning how to make animation in Scratch on a laptop — beginner coding project

Introduction

Your child stares at a screen for hours — but what if that screen time built a real, future-ready skill? Most kids consume content. Scratch animation flips the script: your child becomes the creator.

In this project, your child will build a complete Scratch animation where the Scratch Cat walks onto the stage, waves, and says hello — then responds to keyboard controls that change its costume, size, colour, and visual effects. No typing required. Just drag, snap, and create.

This is how great coders start. Let’s build something brilliant together.

What Is Scratch Animation and Why Does It Matter?

Scratch is a free, visual block-based coding platform developed by MIT. It lets kids drag and snap colourful code blocks together to create animations, games, and interactive stories — with zero typing required.

Scratch animation is the process of making a sprite move, change appearance, and respond to inputs over time. It introduces children to foundational programming concepts like loops, events, and conditionals — all wrapped inside a creative, playful environment.

According to the Scratch Foundation, over 100 million registered users have created projects on the platform. It’s the world’s largest coding community for kids — and animation is where most beginners start their journey.

What makes Scratch particularly powerful is how naturally it connects to bigger ideas. The loop thinking your child practises here is the same computational thinking used in robotics, AI, and software development — they just don’t realise it yet, because it feels like play.

Project Setup — Scene and Sprite

Step 1: Create a New Project

Go to scratch.mit.edu and click “Create” in the top navigation bar. Scratch is completely free, runs in any web browser, and requires no downloads.

Scratch homepage — "Create stories, games, and animations, share with others around the world"

Once you click “Create,” the full Scratch editor opens. This is your child’s creative workspace for the entire project.

Scratch editor full interface — code blocks, stage, sprite panel, and tutorials overlay for beginner animation setup

Before building, explore the editor layout together:

  • Stage (top right) — where the animation plays live in real time
  • Sprite Panel (bottom right) — shows every character in the project
  • Block Palette (left) — every code block, organised by coloured category
  • Code Area (centre) — where blocks are dragged, snapped, and connected

Step 2: Choose a Backdrop

A great animation needs a great stage. Click the backdrop icon at the bottom right of the screen to open the full backdrop library.

Choose a Backdrop" library with Blue Sky backdrop selected — scene setup for sprite animation

For this project, select “Blue Sky.” It gives the Scratch Cat a clear, open stage to walk across. Let your child browse the full library first — choosing the backdrop is their first creative decision as an animator.

Step 3: Make Sure Your Sprite Has Multiple Costumes

Click the Costumes tab at the top of the editor to confirm both costumes are there before you start coding.

Scratch Costumes tab showing two Scratch Cat costumes — the foundation of frame-by-frame sprite animation

Costumes are the secret engine of Scratch animation. A costume is a different visual appearance for the same sprite. Switching between costumes quickly creates the illusion of movement — exactly like a traditional flip-book.

The Scratch Cat comes with 2 built-in costumes: one with the right leg forward, one with the left. That tiny difference between them is everything — it’s what makes the walking animation come alive.

This costume-switching technique is the same frame-by-frame logic used in professional animation software. If your child enjoys this kind of visual thinking, they might also love exploring how other creative coding projects are structured for beginners.

Main Animation — Walk In, Wave, and Say Hello

Step 4: Build the Start / Reset Script

Every reliable animation begins with a clean starting state. This initialisation block runs every time the green flag is clicked — it positions the sprite off the left edge of the screen, clears any leftover effects, and resets all settings to their defaults.

Scratch green flag initialisation block stack — essential reset setup for a reliable Scratch animation project

This block stack does 5 essential things every single time the animation starts:

  • go to x: -220 y: -50 — places the sprite off the left edge of the stage, ready to walk in from outside the frame
  • show — makes the sprite visible in case it was hidden in a previous run
  • clear graphic effects — removes any colour, ghost, or whirl distortions left from before
  • set size to 100% — resets any size changes back to the original default
  • set color effect to 0 — returns the colour to its natural, unaltered state

This is your animation’s safety net. Always build it first — it makes your project reliable and repeatable every time the green flag is clicked.

Step 5: Cat Walks In (with Walking Animation)

Now it’s time for the main event. This block stack makes the Scratch Cat walk from the left side of the screen toward the centre — with a smooth, natural walking animation playing as it moves.

Scratch walking loop — repeat block with move steps, next costume, and wait — the core of the Scratch cat walk-in animation

Here’s exactly what each block does:

  • point in direction 90 — faces the sprite to the right before it starts moving
  • repeat 20 — runs the inner blocks 20 times in a loop
  • move 10 steps — moves the sprite 10 pixels forward each cycle (20 × 10 = 200 pixels total across the stage)
  • next costume — alternates between the 2 leg positions to create the walking illusion
  • wait 0.08 seconds — slows the loop so the eye can follow the movement naturally

The wait block is critical. Without it, the animation runs so fast it becomes an invisible blur. 0.08 seconds is the sweet spot — fast enough to feel alive, slow enough to look completely natural.

Step 6: Wave (Using Costumes and a Greeting Effect)

After the cat walks in, it waves. This block triggers a short animated greeting sequence — the sprite says “Hi” and cycles through its costumes rapidly to create a waving effect.

Scratch wave animation — sprite says Hi and cycles costumes 6 times at 0.1-second intervals

The sprite says “Hi” for 2 seconds while the costume loop plays 6 frames of animation beneath it. The wait 0.1 seconds is slightly slower than the walking animation — this gives the wave a more deliberate, expressive feel compared to the brisk walk-in.

This is storytelling through code. Your child isn’t just animating a character — they’re choreographing a performance, timing a greeting, and deciding how another person experiences their creation.

This kind of sequencing — where one action follows another in a specific order — is exactly what kids practise in structured coding lessons before moving on to more complex projects like games and chatbots.

Step 7: Say Hello and Finish

After the wave, the Scratch Cat introduces itself and gives the player a hint about the keyboard controls that are available.

Scratch say and think blocks — Scratch Cat introduces itself and hints at available keyboard interactions

The say block creates a speech bubble — visible to the audience. The think block creates a thought bubble — a private thought that adds personality and character depth. Together, they wrap up the opening animation sequence and invite the player to explore the keyboard controls below.

This is user experience design at its simplest. Your child is thinking about how another person will interact with their project — a mindset that professional developers use every single day.

Keyboard Controls — Costume, Size, Colour, and Effects

With the main animation complete, it’s time to add interactivity. These keyboard-triggered blocks let the player take control — changing the sprite’s costume, size, colour, and visual effects in real time. Each block uses event-driven programming: a keypress triggers an immediate response.

Step 8: Press C to Change Costume

 Scratch block — when C key pressed triggers next costume for interactive costume switching

Press C and the sprite switches costume instantly. This is event-driven programming in its purest form — one action, one response. It’s the foundational logic behind every interactive game and story ever built in Scratch.

Step 9: Press Up Arrow to Increase Size

Scratch block — up arrow key increases sprite size by 10 for interactive size scaling

Each press of Up Arrow grows the sprite by 10 units. This gives children a tactile, satisfying sense of how variables change incrementally — a core programming concept wrapped inside a fun, visible interaction.

Step 10: Press Down Arrow to Decrease Size

Scratch block — down arrow key decreases sprite size by -10 for interactive shrinking

Press Down Arrow and the sprite shrinks. Used together with the Up Arrow, these 2 blocks teach children that the same concept (changing size) can work in 2 opposite directions — a clean, intuitive introduction to positive and negative values in programming.

Step 11: Press 1 and 2 to Change Colour Effect

Scratch colour effect blocks — pressing 1 cycles colour forward, pressing 2 reverses it through the full hue spectrum

Press 1 to cycle the sprite’s colour forward through the hue spectrum — orange, red, purple, blue, green, and back to yellow. Press 2 to reverse through the same spectrum. Full creative colour control, handed directly to your child. This is also a brilliant introduction to the concept of additive and subtractive values in code.

Step 12: Press S for Ghost Effect and Spacebar for Sparkle / Whirl Effect

This is where the animation gets a little magical. Scratch has 7 built-in graphic effects — and these 2 keys unlock 2 of the most dramatic ones.

Option A: Ghost Fade (S Key)

 Scratch ghost effect block — pressing S fades the sprite transparency by 15 each keypress

Each press of S makes the sprite 15% more transparent. Press it enough times and the Scratch Cat fades away entirely. This is a brilliant, visual way to introduce kids to the concept of opacity — a core skill in graphic design, animation, and UI development.

Option B: Whirl / Sparkle Effect (Spacebar)

Scratch whirl effect block — pressing Spacebar applies increasing whirl distortion to the sprite

Every Spacebar press twists the sprite by 15 more degrees of whirl distortion. The effect builds dramatically with repeated presses — the Scratch Cat contorts into a spinning vortex that kids absolutely love discovering. Pairing ghost and whirl together creates a disappearing magic trick effect that makes young coders feel like genuine animators.

Step 13: Press R to Reset Everything

Every great animation needs a reset function. Without one, effects stack up across runs, the sprite drifts off screen, and the project becomes unpredictable. Building a reset function is how beginner coders start thinking like engineers.

Scratch reset block — pressing R clears all effects, resets size, switches to costume1, and returns sprite to centre stage

Press R and everything snaps back instantly:

  • clear graphic effects — removes all colour, ghost, and whirl distortions in one go
  • set size to 100% — undoes any growing or shrinking from the arrow keys
  • switch costume to costume1 — returns the sprite to its original default appearance
  • go to x: 0 y: -50 — moves the sprite back to a clean, centred position on stage

Teaching children to build a reset function teaches them to think about failure before it happens — to make their projects not just functional, but robust. That debugging mindset is something kids develop naturally when they work on real projects rather than isolated exercises.

Find out how ItsMyBot builds this engineering mindset in children through personalised, industry-level courses at itsmybot.com/coding-courses-for-kids.

Extra: Optional Dance Mode on Sprite Click

Step 14: Click on the Sprite to Dance

This is the celebration finale — and the most visually impressive block in the entire project. When the player clicks directly on the Scratch Cat, it breaks into an animated dance combining spinning, costume changes, colour shifting, and precise timing all at once.

 Scratch sprite clicked dance animation — spin, costume cycling, and colour effect combined in one repeat loop

Here’s what this block stack delivers in a single click:

  • when this sprite clicked — triggers the entire dance sequence the moment the player clicks the cat
  • repeat 10 — runs the inner dance blocks 10 times in a smooth loop
  • turn 15 degrees — rotates the sprite 15° clockwise each cycle (10 × 15° = a full 150° spin total)
  • next costume — cycles the costume each frame so the cat appears to move while spinning
  • change color effect by 25 — shifts the colour with each cycle, creating a rainbow spin effect
  • wait 0.05 seconds — sets the dance speed — fast enough to look energetic, smooth enough to follow

This single block stack combines motion, costume switching, visual effects, and timing — all 4 pillars of Scratch animation in one elegant, joyful sequence. It’s the kind of moment that makes a child’s face light up with genuine pride in what they’ve built.

What Common Scratch Animation Mistakes Should You Avoid?

Even enthusiastic young coders run into the same stumbling blocks. Here are the most common Scratch animation mistakes — and exactly how to fix them:

Mistake 1: Skipping the Green Flag initialisation block

  • Why it’s a problem: The sprite starts in a random position with leftover effects from the last run. The animation looks broken before it begins.
  • Correct approach: Always build the “when green flag clicked” setup stack first — it resets position, size, and all effects at the start of every run.

Mistake 2: Forgetting the wait block inside animation loops

  • Why it’s a problem: Costume changes happen so fast the eye can’t follow them. The animation appears frozen or invisible.
  • Correct approach: Add wait 0.08 seconds inside every costume-switching loop. Adjust the value to speed up or slow down the animation.

Mistake 3: Not building a reset function

  • Why it’s a problem: Visual effects stack with each run. After a few plays, the sprite is invisible, distorted, or off-screen entirely.
  • Correct approach: Build the R-key reset block into every project from the very first session.

Mistake 4: Stacking effects without an off switch

  • Why it’s a problem: Colour, ghost, and whirl effects all accumulate independently across multiple keypresses. Without a reset, the animation quickly becomes unreadable chaos.
  • Correct approach: Always pair every effect trigger with the clear graphic effects block inside your R-key reset .

Mistake 5: Choosing a backdrop after coding the motion

  • Why it’s a problem: Some sprite positions and sizes that look perfect on a blank stage appear misaligned or clipped on a detailed backdrop.
  • Correct approach: Choose your backdrop before coding the motion blocks. Set your sprite’s starting x and y coordinates with the backdrop already in place so the scene feels intentional from the start.

Frequently Asked Questions

How do I make a sprite walk in Scratch?

Use the repeat block with move 10 steps, next costume, and wait 0.08 seconds inside it. Point the sprite in direction 90 before the loop so it faces right. The next costume block alternates between leg positions to create the walking illusion.

What are Scratch costumes and how do they create animation?

A costume is a different visual appearance for the same sprite. When you switch between costumes quickly using the next costume block inside a loop, the sprite appears to move — exactly like a traditional flip-book animation. The Scratch Cat has 2 built-in costumes that create a natural walking animation when cycled.

How do I add visual effects to my Scratch animation?

Use the change [effect] by block inside an event trigger. Scratch includes colour, ghost, whirl, fisheye, pixelate, mosaic, and brightness effects. Trigger them with keyboard keys — ghost with S , whirl with Spacebar , and colour with keys 1 and 2 .

How do I reset my Scratch animation to the start?

Build the R-key reset block that includes: clear graphic effects, set size to 100%, switch costume to costume1, and go to x: 0 y: -50. One keypress restores every setting to its original state instantly.

Is Scratch free to use for kids?

Yes. Scratch is completely free and available at scratch.mit.edu. It runs in any web browser with no downloads required. It’s developed and maintained by the MIT Media Lab as a nonprofit educational platform for children worldwide.

What age is Scratch suitable for?

Scratch is designed for children aged 8 and above, though many 5–7 year olds learn it successfully with parental guidance. The block-based drag-and-drop interface requires no typing, making it highly accessible for young learners.

How long does it take to build this Scratch animation?

A complete beginner can build this full project — walk-in animation, wave, hello, all keyboard controls, and dance mode — in approximately 45–60 minutes. With an experienced mentor guiding the session, children often finish their first interactive animation in a single lesson and are immediately excited to build the next one.

What comes after Scratch animation for kids?

After this, children typically move into Scratch game design, where they apply the same block logic to build scoring, lives, and collision detection. From there, the natural next step is Python — where the same concepts they learned here (loops, events, variables) show up again, just written instead of dragged.

Conclusion

Learning how to make animation in Scratch is about so much more than moving a cat across a screen. Every block your child snaps together builds logical thinking, creative confidence, and real-world coding skills that open doors to future-ready careers in technology, design, and beyond.

Your child’s first Scratch animation is just the beginning. The skills they’ve built here — event-driven thinking, loops, debugging, creative sequencing — are the same skills used by professional developers every single day. The next step might be building their first Scratch game, or exploring how these same ideas translate into Python and beyond.

At ItsMyBot, we turn that spark into mastery. Explore our personalised, industry-level coding courses for kids aged 5–15 at itsmybot.com/courses.

Tags

Share

Poornima Sasidharan​

An accomplished Academic Director, seasoned Content Specialist, and passionate STEM enthusiast, I specialize in creating engaging and impactful educational content. With a focus on fostering dynamic learning environments, I cater to both students and educators. My teaching philosophy is grounded in a deep understanding of child psychology, allowing me to craft instructional strategies that align with the latest pedagogical trends.

As a proponent of fun-based learning, I aim to inspire creativity and curiosity in students. My background in Project Management and technical leadership further enhances my ability to lead and execute seamless educational initiatives.

Related posts

Empowering children with the right skills today enables them to drive innovation tomorrow. Join us on this exciting journey, and let's unlock the boundless potential within every child.
© ItsMyBot 2026. All Rights Reserved.