ุงู†ุชู‚ู„ ู„ู„ู…ุญุชูˆู‰
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

Stop โœ‹

Section 7: Speed and bumpingLesson 7.3 ยท โฑ 5 min

Robo walks โ™พ๏ธ all the time. But when does he stop? When he bumps the cat ๐Ÿ’ฅ: the โœ‹ block stops his other programs, then he says โ€œI made itโ€.

๐Ÿงฉ Walk forever, and stop when you bump the cat
Blocks of ๐Ÿค– Robo
  1. When ๐Ÿšฉ is tapped
  2. Move right โžก๏ธ 1
  3. Start again forever โ™พ๏ธ
  4. When it bumps into a character ๐Ÿ’ฅ
  5. Stop my other programs โœ‹
  6. Say ๐Ÿ’ฌ โ€œI reached the cat!โ€
Robo stopped at the cat
Robo stopped at the cat

๐Ÿ“Œ Another example: look for your friend

Robo walks forever, and when he bumps the dog he stops โœ‹ and is happy.

๐Ÿงฉ Look for your friend
Blocks of ๐Ÿค– Robo
  1. When ๐Ÿšฉ is tapped
  2. Move right โžก๏ธ 1
  3. Start again forever โ™พ๏ธ
  4. When it bumps into a character ๐Ÿ’ฅ
  5. Stop my other programs โœ‹
  6. Say ๐Ÿ’ฌ โ€œI found my friend! ๐Ÿถโ€
  7. Hop ๐Ÿฆ˜
Looking
Looking
He found him
He found him
โœ๏ธ Practise
Make Robo walk forever and stop when he bumps the starโ€ฆ or any character you choose.
โœ๏ธ Practise here in the lessonor open the lab in a new page โ†—

๐ŸŽฏ Challenge yourself

Easy

The cat walks left forever, and stops when she bumps Robo.

๐Ÿ‘€ Show the solution
๐Ÿงฉ Solution
Blocks of ๐Ÿฑ Cat
  1. When ๐Ÿšฉ is tapped
  2. Move left โฌ…๏ธ 1
  3. Start again forever โ™พ๏ธ
  4. When it bumps into a character ๐Ÿ’ฅ
  5. Stop my other programs โœ‹
The result on the stage
The result on the stage
Medium

Robo goes up forever, and stops when he reaches the cat at the top.

๐Ÿ‘€ Show the solution
๐Ÿงฉ Solution
Blocks of ๐Ÿค– Robo
  1. When ๐Ÿšฉ is tapped
  2. Move up โฌ†๏ธ 1
  3. Start again forever โ™พ๏ธ
  4. When it bumps into a character ๐Ÿ’ฅ
  5. Stop my other programs โœ‹
  6. Say ๐Ÿ’ฌ โ€œI reached the top! โ›ฐ๏ธโ€
The result on the stage
The result on the stage
Hard

When Robo bumps the cat: he stops, then goes back 4 steps and says โ€œI went back some stepsโ€.

๐Ÿ‘€ Show the solution
๐Ÿงฉ Solution
Blocks of ๐Ÿค– Robo
  1. When ๐Ÿšฉ is tapped
  2. Move right โžก๏ธ 1
  3. Start again forever โ™พ๏ธ
  4. When it bumps into a character ๐Ÿ’ฅ
  5. Stop my other programs โœ‹
  6. Move left โฌ…๏ธ 4
  7. Say ๐Ÿ’ฌ โ€œI went back some stepsโ€
He went back
He went back
Finished the lesson? Mark it so your progress counts.