Level 3

Clone Behavior

Level 3 · Chapter 10

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Algorithms & Programming · Grades 3–5

Change or remix a program to make something new.

Code 1B-AP-12Read the official text

Also practised: 1B-AP-15

Common Core State Standards for Mathematics

Number & Operations — Fractions · Grade 4

Find fractions that are equal and order them.

Code 4.NF.A.1Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will define what each clone does using the clone start event.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 1B
✦ CSTA 1B-AP-12 · CSTA 1B-AP-15 · ISTE 1.5.a · Standards
🎯 I candefine what each clone does using the clone start event
🧩 New blocks2 blocks
📝 New words4 words
⏱ Lesson time~40 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students may try to put clone behavior inside the original's script — behavior after 'when I start as a clone' only runs for clones, not the original.
  • Students may forget 'delete this clone' — clones pile up forever at the bottom of the stage.

🎯 Differentiation

🐢 Struggling: Provide a two-column printed sheet: left column = Original's script, right column = Clone's script. Students fill in each column before building.

🚀 Advanced: Challenge them to add a score variable: if the clone touches the Cat sprite (the original), change score by 1 and delete that clone.

💡 During the lesson

  • Warm-UpDrop five small pieces of torn paper from shoulder height. Ask: "Do they all fall the same path?" (No — each one is independent.) Tell students: "Each paper is a clone. Today we give each clone its own falling job." Each clone has a lifecycle ♻️: it starts, runs its behavior, then deletes.
    Point to frame 1 and say: "This is the ORIGINAL cat's job." Point to frames 2-4 and say: "This is each CLONE's job." Draw a dotted line between the two roles on the board. Students will write two separate scripts.
  • Try ItTry 2 shows that each clone runs its own loop — they all spin independently. Try 3 is a teaching trap: clones pile up and the stage slows down. Use it to anchor why delete this clone matters. Restore the original Try 1 code before moving on.
  • PlanAsk students: "Which script uses 'when flag clicked'? Which uses 'when I start as a clone'?" Students should be able to answer before building. If any students are unsure, draw two speech bubbles — one from the original cat, one from a clone. Each bubble contains that character's script. Do the first box together, then pick and watch both pictures.
  • BuildThe most common error is attaching the clone behavior blocks to the original's script instead of making a second script. Show students the stage area — they should see TWO separate block stacks. Walk the room and check every student has two distinct scripts before they click the ▶.