Skip to main content

๐Ÿš€ Lesson 1.3: Your First Project โ€” Make the Cat Move & Talk

Time to actually build something! In this lesson you'll code the Scratch cat to walk across the stage and say hello when you click the green flag โ€” your first real program.

๐ŸŽฏ Learning Objectives

By the end of this lesson, you will be able to:

  • Drag, drop, and snap blocks together to build a script
  • Start a program with the โ€œwhen ๐ŸŸฉ clickedโ€ event
  • Combine Motion and Looks blocks to make a sprite act
  • Test, tweak, and troubleshoot a simple project
  • Coach your child through building it themselves

Estimated Time: 40 minutes  โ€ข  Project: a moving, talking cat

Ages 5โ€“7 (with help) Ages 8โ€“11 Ages 12+
In This Lesson

๐ŸŽฌ What we're building

Here's the finished program. Don't worry about how yet โ€” this is our destination. When you click the green flag, the cat will walk to the right and greet you.

Three blocks. That's a complete, working program. Let's build it one block at a time.

๐Ÿ’ก Before you start

Open a fresh project at scratch.mit.edu โ†’ Create. Make sure the cat (Sprite1) is selected in the sprite list, so your blocks land on the cat.

๐ŸŽ“ Learn It: Build it step by step

  1. Start with an Event

    Click the gold Events category. Drag โ€œwhen ๐ŸŸฉ clickedโ€ into the middle code area. This is the "hat" that starts your program.

    when โš‘ clicked
  2. Add some Motion

    Click the blue Motion category. Drag โ€œmove 10 stepsโ€ so it snaps underneath the hat block (you'll see a grey shadow when it's about to connect โ€” let go there).

    when โš‘ clicked
    move 10 steps

    Now click the green flag. The cat scoots a tiny bit! Ten steps is small โ€” we'll make it bigger soon.

  3. Make it talk

    Click the purple Looks category. Drag โ€œsay Hello! for 2 secondsโ€ so it snaps below the move block.

    when โš‘ clicked
    move 10 steps
    say Hello! for 2 seconds
  4. Type your own words & a bigger move

    Click the white oval that says Hello! and type your own message, like Hello! I'm Scratch Cat. Then click the 10 in the move block and change it to 50 so the walk is easier to see.

    when โš‘ clicked
    move 50 steps
    say Hello! I'm Scratch Cat for 2 seconds

โœ… That's it โ€” you built a program!

Click the green flag. The cat walks right and says hello. You just wrote software. ๐ŸŽ‰

๐ŸŽ“ Learn It: Run & understand it

Click the green flag to run it; click the red stop to end it. Here's what happens, in order โ€” this ordering is called a sequence, the most basic idea in all of coding:

flowchart TD A["๐ŸŸฉ Green flag clicked"] --> B["Cat moves 50 steps to the right"] B --> C["Cat says your message for 2 seconds"] C --> D["Program ends"] style A fill:#FFBF00,color:#4d3800,stroke:#333 style B fill:#4C97FF,color:#fff,stroke:#333 style C fill:#9966FF,color:#fff,stroke:#333 style D fill:#e2e8f0,color:#1e293b,stroke:#333

Scratch runs blocks top to bottom, one after another. Change the order and you change the behavior โ€” put "say" before "move" and the cat talks first, then walks. Try it!

๐Ÿ› Cat stuck at the edge?

Each green-flag click moves the cat 50 more steps, so it may march off the edge. To send it back to the start, drag the cat on the stage with your mouse, or add a Motion block โ€œgo to x: 0 y: 0โ€ right after the hat to reset its position each run.

๐Ÿ› ๏ธ Try It: Make it yours

The best learning happens when you change things and see what breaks or delights. Try these mini-challenges:

๐ŸŽจ Easy

  • Change the message to a joke.
  • Change 50 to 200 โ€” where does the cat end up?
  • Add a second โ€œsayโ€ block for a reply.

๐Ÿ”ฅ A bit more

  • From Sound, add โ€œstart sound Meowโ€ after the move.
  • From Looks, add โ€œchange size by 25โ€.
  • Add โ€œturn โ†ป 15 degreesโ€ for a tipsy walk.
๐Ÿ’ก Challenge: make the cat walk and look like it's walking

The cat has two costumes. Add a Looks block โ€œnext costumeโ€ between move and say, and run it a few times โ€” the legs switch! (In Module 2 we'll make this loop smoothly for real walking animation.)

when โš‘ clicked
move 50 steps
next costume
say Hello! I'm Scratch Cat for 2 seconds

๐Ÿ› Common problems & fixes

What you seeLikely causeFix
Nothing happens on green flagBlocks aren't snapped together, or wrong sprite selectedCheck blocks connect with no gaps; select the cat in the sprite list
Cat moves but doesn't talkThe โ€œsayโ€ block isn't attached under the othersDrag it until it snaps beneath the move block
Cat walks off-screenIt keeps moving 50 more each runAdd โ€œgo to x: 0 y: 0โ€ after the hat, or drag the cat back
Cat is upside-down after turningRotation styleIn the sprite info, set rotation to โ€œleft-rightโ€ (we'll cover this later)
Bugs aren't failures โ€” they're the normal, healthy middle of coding. Model calm curiosity: "Interesting! Why do you think it did that?"

๐Ÿ’ฌ Teach It: Coach your child through it

Now hand it over. You've done the build once, so you can guide without taking over. The magic words are questions, not instructions.

Run it as a treasure hunt, not a dictation

Instead of "drag the move block," try:

"We want the cat to walk. Which color do you think has moving blocks? โ€ฆLet's look in the blue ones. See anything that says move?"

Let them own the fun parts

  • The message is theirs. Let them type anything (within reason) in the โ€œsayโ€ block โ€” this is where they light up.
  • The number is theirs. Let them pick how many steps and discover big vs. small.
  • The green flag is theirs. They press GO. Every single time.

๐Ÿ‘ง Ages 5โ€“7

You handle the dragging if needed; they choose the words and press GO. Keep it to the three-block version. Celebrate loudly.

๐Ÿง’ Ages 8โ€“11

They do all the dragging. Offer the "make it yours" challenges. Ask "what should happen next?" and let them lead.

๐Ÿง‘ Ages 12+

Give the goal, not the steps: "Make the cat cross the stage and say two things." Let them puzzle it out; jump in only if stuck.

๐ŸŒŸ End on a high

Finish by having them show the project to someone โ€” a sibling, grandparent, a video call. Presenting their creation turns "I made a thing" into "I'm someone who makes things."

๐ŸŽฏ Quick Check

Question 1: Which block should be at the top of the script so it runs when you press the green flag?

Question 2: Scratch runs the blocks in a stackโ€ฆ

Question 3: Your child's cat won't talk, though it moves. Best first check?

Summary & Module 1 Complete ๐ŸŽ‰

๐ŸŽ‰ Key Takeaways

  • Programs start with an Event block like โ€œwhen ๐ŸŸฉ clickedโ€.
  • You build by dragging blocks so they snap into a top-to-bottom stack โ€” a sequence.
  • Combine Motion and Looks to make a sprite act; edit the white ovals to change words and numbers.
  • Bugs are normal. Coach with questions and let your child own the creative choices.

๐Ÿ† You finished Module 1!

You went from "what is this?" to building and teaching a real program. You are officially your child's coding buddy.

๐Ÿš€ What's next

Module 2: Core Coding Concepts is coming soon. We'll turn this one-time action into living behavior โ€” loops that repeat, events that respond to keys, and choices with if/then. Your cat is about to get a lot more interesting.

๐Ÿ  Back to Course Home