💖 Step 4: Add Pet Feelings

🌟 What's New?

Pets have feelings too! We are going to use the Input blocks to change how our pet feels when we press buttons.

🛠️ What to Do

Let's add three feelings: Happy, Hungry, and Sleepy!

  1. Feeling Happy 😊:
  2. Go to the Input toolbox and grab the on button A pressed block.
  3. Add a show icon block inside and pick the Happy Face!
  4. Feeling Hungry 🤤:
  5. Grab the on button B pressed block.
  6. Add a show leds block and draw an open mouth for food!
  7. Feeling Sleepy 😴:
  8. Grab another on button A pressed block. Click the little arrow next to "A" and change it to "A+B".
  9. Add a show icon block and pick the Sleeping Face!

Leave a screenshot of your feeling blocks here: Insert Feelings Code Here

🏆 Challenge!

  • Make your pet show an Angry face if you shake it!
  • Add a new feeling using the on logo touched block!