Dhinawan in the Sky

The Emu’s Nest

The baby emu chicks are at the bottom of our stage. Let’s add code to match the animation in the sky.
This section switches between sprites, so we’ve indicated which one to code on the right.

  • Add a Broadcast block to alert the Egg to what costume it should be using.
  • First, add this block to the Emu Sprite.
  • Then, add these blocks to the Egg Sprite.
  • Go back to your Emu Sprite.
  • Add two more broadcast blocks to the Emu Sprite.
  • Go back to your Egg Sprite.
  • Add the corresponding action to the Egg Sprite.
  • Test your code by clicking the green flag.
  • Does your nest reset once you start the animation again?
  • Add this code to your egg.