انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents

Left and up

Section 1: The start: Robo walksLesson 1.3 · ⏱ 7 min

⬅️ walks left, ⬆️ goes up, and ⬇️ goes down. We snap more than one block so Robo walks along a path.

🧩 Right, then up
Blocks of 🤖 Robo
  1. When 🚩 is tapped
  2. Move right ➡️ 6
  3. Move up ⬆️ 5
🖥️ What happens on the stage?
Robo walks 6 squares right, then goes up 5 squares to the star.

📌 Another example: a whole square

Right, then up, then left, then down, 5 squares each time, so Robo draws a square and comes back to his place.

🧩 A whole square
Blocks of 🤖 Robo
  1. When 🚩 is tapped
  2. Move right ➡️ 5
  3. Move up ⬆️ 5
  4. Move left ⬅️ 5
  5. Move down ⬇️ 5
On the way
On the way
Back at the start
Back at the start
✍️ Practise
The star is at the top.
✍️ Practise here in the lessonor open the lab in a new page ↗
✍️ Practise
Practice: the star is on the left.
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

Make Robo go up 6 squares.

👀 Show the solution
🧩 Solution
Blocks of 🤖 Robo
  1. When 🚩 is tapped
  2. Move up ⬆️ 6
The result on the stage
The result on the stage
Medium

Robo is on square (10, 6). Make him walk 4 left, then go down 2.

👀 Show the solution
🧩 Solution
Blocks of 🤖 Robo
  1. When 🚩 is tapped
  2. Move left ⬅️ 4
  3. Move down ⬇️ 2
He reached (6, 4)
He reached (6, 4)
Hard

A staircase: right 2, up 2… three times.

👀 Show the solution
🧩 Solution
Blocks of 🤖 Robo
  1. When 🚩 is tapped
  2. Move right ➡️ 2
  3. Move up ⬆️ 2
  4. Move right ➡️ 2
  5. Move up ⬆️ 2
  6. Move right ➡️ 2
  7. Move up ⬆️ 2
He climbed the stairs
He climbed the stairs
Finished the lesson? Mark it so your progress counts.