Previous site

Going for Flower Honey

Make a flower that is happy when a bee visits.

Build a flower and a hungry honeybee.

Going for Flower Honey
Finished model

Blocks needed

  • × 1
  • × 1
  • × 9
  • × 3
  • × 11
  • × 2

How to build 14 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
1 / 14

Coding mission

The honeybee flies to a flower in bloom. Code the flower to smile at the bee.

Blocks and their jobs

  • Proximity Sensor BlockHoneybee
  • LED BlockFlower

Let's think

What is a conditional statement?

It is a code structure where what happens next changes depending on the answer “yes” or “no” to a condition.

  1. Start
  2. Is there an obstacle?
NO – nothing is close

The flower sings.

YES – something is close

The flower smiles.

After either answer, the code ends.

Show the solution

When the bee is far away (no obstacle nearby), the flower sings. When the bee comes close (an obstacle nearby), the flower smiles.

Mission complete!

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