Ψ§Ω†ΨͺΩ‚Ω„ Ω„Ω„Ω…Ψ­ΨͺΩˆΩ‰
Robo EgyptRobo Egypt
☰ Course contents
Robo Junior: home
0. Lab tour1
1. The start: Robo walks5
2. Talking and looks6
3. Sound and repeating5
4. Messages and more than one character4
5. The project: a story from your imagination3
6. Turning, costumes and waiting5
7. Speed and bumping5
8. Drawing and writing on the stage3
9. The big project: an interactive story3

Hop and repeat

Section 3: Sound and repeatingLesson 3.1 · ⏱ 6 min

The πŸ” block repeats the blocks inside it. The number = how many times. This way we don't snap the same block many times.

🧩 Hop 3 times
Blocks of πŸ€– Robo
  1. When 🚩 is tapped
  2. Repeat πŸ” 3 times:
  3. ↳ Hop 🦘

πŸ“Œ Another example: walk and hop

Two blocks inside πŸ”: two steps, then a hop. They repeat 4 times.

🧩 Walk and hop
Blocks of πŸ€– Robo
  1. When 🚩 is tapped
  2. Repeat πŸ” 4 times:
  3. ↳ Move right ➑️ 2
  4. ↳ Hop 🦘
The first hop
The first hop
After 4 times
After 4 times
✍️ Practise
Hop 3 times.
✍️ Practise here in the lessonor open the lab in a new page β†—
✍️ Practise
Practice: walk and hop 4 times.
✍️ Practise here in the lessonor open the lab in a new page β†—

🎯 Challenge yourself

Easy

Make Robo hop 5 times.

πŸ‘€ Show the solution
🧩 Solution
Blocks of πŸ€– Robo
  1. When 🚩 is tapped
  2. Repeat πŸ” 5 times:
  3. ↳ Hop 🦘
The result on the stage
The result on the stage
Medium

Robo goes up 2 and down 2, three times.

πŸ‘€ Show the solution
🧩 Solution
Blocks of πŸ€– Robo
  1. When 🚩 is tapped
  2. Repeat πŸ” 3 times:
  3. ↳ Move up ⬆️ 2
  4. ↳ Move down ⬇️ 2
Back in his place
Back in his place
Hard

A repeat inside a repeat: three hops, then 4 steps, all of it twice.

πŸ‘€ Show the solution
🧩 Solution
Blocks of πŸ€– Robo
  1. When 🚩 is tapped
  2. Repeat πŸ” 2 times:
  3. ↳ Repeat πŸ” 3 times:
  4. ↳ Move right ➑️ 4
6 hops
6 hops
Finished the lesson? Mark it so your progress counts.