Previous site

Cicada and Dragonfly in the Tree

Code a dragonfly that is happy to land on the tree and a cicada that sings from the tree.

Build a cicada and a dragonfly in a tree.

Cicada and Dragonfly in the Tree
Finished model

Blocks needed

  • × 1
  • × 1
  • × 1
  • × 23
  • × 20
  • × 4
  • × 2
  • × 2

How to build 25 steps

  1. Step 1
  2. Step 2
  3. Step 3
  4. Step 4
  5. Step 5
  6. Step 6
  7. Step 7
  8. Step 8
  9. Step 9
  10. Step 10
  11. Step 11
  12. Step 12
  13. Step 13
  14. Step 14
  15. Step 15
  16. Step 16
  17. Step 17
  18. Step 18
  19. Step 19
  20. Step 20
  21. Step 21
  22. Step 22
  23. Step 23
  24. Step 24
  25. Step 25
1 / 25

Coding mission

On a hot summer day, a tired dragonfly lands on a tree. Code the cicada in the tree to greet the dragonfly.

Blocks and their jobs

  • Light Sensor BlockLeaf
  • LED BlockDragonfly
  • Sound BlockCicada

Let's think

Inside a sensor block, you can put any action blocks — in any order and of any kind.

  • Motor, LED, sound or Master Block: any of these can run when the sensor’s condition is met.
Show the solution

Before the dragonfly lands on the leaf (bright – nothing covers the light sensor block), it shows no expression. When it lands (dark – the light sensor block is covered), it smiles, and the cicada sings “Mi, Sol, Sol.”

Mission complete!

Built it and coded it? Tap to save your progress.