When it bumps π₯
Section 7: Speed and bumpingLesson 7.2 Β· β± 6 min
The π₯ block starts the program when the character bumps into another character. Robo walks towards the dog, and when Robo bumps him, the dog says hello and jumps.
π€ Robo

- When π© is tapped
- Move right β‘οΈ 11
πΆ Dog

- When it bumps into a character π₯
- Say π¬ βHello, Robo!β
- Hop π¦

π Another example: Robo says sorry
Each character has its own π₯: Robo says sorry, and the cat says βWatch out!β and hops.
π€ Robo

- When π© is tapped
- Move right β‘οΈ 12
- When it bumps into a character π₯
- Say π¬ βSorry! πβ
π± Cat

- When it bumps into a character π₯
- Say π¬ βWatch out!β
- Hop π¦

βοΈ Practise
Make the cat say βOw!β and go home π when Robo bumps her.
βοΈ Practise here in the lessonβ Close the labor open the lab in a new page β
π― Challenge yourself
Easy
When Robo bumps the dog, the dog says βWoof woof! πΆβ.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Move right β‘οΈ 12
πΆ Dog

- When it bumps into a character π₯
- Say π¬ βWoof woof! πΆβ

Medium
When Robo bumps her, the cat runs 4 steps away.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Move right β‘οΈ 12
π± Cat

- When it bumps into a character π₯
- Move right β‘οΈ 4

Hard
Robo hops when they bump, and the cat hides for two seconds, then shows and says βYou won't catch me! πΌβ.
π Show the solutionπ Hide the solution
π€ Robo

- When π© is tapped
- Move right β‘οΈ 12
- When it bumps into a character π₯
- Hop π¦
π± Cat

- When it bumps into a character π₯
- Hide π
- Wait β± 2
- Show π
- Say π¬ βYou won't catch me! πΌβ


