Introduction to Scratch & Coding

Goal of the Lesson

Learn how to make characters talk and create a full interactive story. Use the Say block and Wait blocks to time dialogues perfectly.

Preparing the Story Setup

Sprites & Backdrop

  • Add two sprites (e.g., a Robot & a Cat)
  • Add a galaxy or space backdrop

Making Sprites Face Each Other

  • Select the robot → Costume tab → Flip Horizontal

This makes characters face properly during conversation.

Starting the Dialogue

Robot’s First Dialogue

  • Events → when green flag clicked
  • Looks → say ___ for 2 seconds
  • Change the dialogue to: “Greetings, tiny explorer. What brings you to this galaxy?”
  • You can increase the seconds for longer sentences

Cat Responds

The cat must wait until the robot finishes talking.

Timing the Dialogue

  • Events → when green flag clicked
  • Control → wait 2 seconds (because robot speaks for 2 seconds)
  • Looks → say __ for 2 seconds
  • Change to: “I’m on a mission to find the brightest star in the universe!”

Adding the Cat’s Next Dialogue

  • Add another say block
  • Type: “But I think I might need help to finish my journey.”
  • Make the cat say it for 3 seconds

Total talking time = 2 sec + 3 sec = 5 seconds

Robot’s Next Lines

The robot must wait 5 seconds before speaking again.

  • Robot Dialogue 2: “I can guide you. I’ve mapped the whole galaxy.”
  • Robot Dialogue 3: “Follow me and we’ll find your star together.”

Total = 5 seconds of talking

Cat’s Final Dialogue

  • Add a wait 5 seconds block before talking
  • Cat says: “Thank you, robot friend. Let’s begin our adventure!”

What Students Learned

  • How to time dialogues properly
  • How to organize conversation flow using:
    • Say block
    • Wait block
    • Green flag
  • How to make characters interact like a real story

Assignment

  • Create a story with 2 or 3 characters
  • Write your script first
  • Add proper delays so characters don’t talk at the same time