Touching: catch the star
Section 9: GamesLesson 9.3 · ⏱ 14 min
🎯 Project goal
A star falls from the top, and a basket moves with your finger or by tilting the phone. Every time the basket catches the star you get more points.



- when Sprite2 touches Sprite1 works the moment the star touches the basket.
- 📱 tilt moves the basket right and left. On the computer use the arrow keys.
- If the star reaches the bottom of the canvas it goes back to the top in a random place.
📌 Another example: catch the apple with a sound
Every apple you catch: a point and a coin sound.



✍️ Practise
Make the example yourself: put the parts in “🎨 Design”, then the blocks, and tap ▶ Run.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
The star falls, and when it goes out at the bottom it comes back from the top.
👀 Show the solution🙈 Hide the solution



Result: it falls and comes back.
Medium
When you catch the star: a point and a “Well done” message.
👀 Show the solution🙈 Hide the solution



Result: the points go up.
Hard
Every 3 stars the falling gets faster.
👀 Show the solution🙈 Hide the solution



Result: after 3 stars: Faster!

