Project 115: Magic Cups

6. Make the sprite always hide under the cup

Let's use code to tell our sprite to always hide underneath our cup.
Starting point file for this challenge

Your goal

Steps

1. Grab a "when green flag clicked" event

Let's start our code with a yellow "when green flag clicked" block! Can you find this block in the yellow section? It's the first block! 

2. Connect a "go to __ " block to your yellow block

This is a dark blue motion block! It's the 4th block. It means that this sprite will automatically go to another sprite. Can you make sure this block will go to your cup sprite? 

3. Repeat your code, forever!

We want your sprite to be hiding under the cup ... forever! For the whole game! Can you go the orange "control" blocks and find one that says "forever?" Connect that forever block around your blue block. 

Anything inside a forever loop will happen forever. So if we put the "go to" block inside a forever loop, what do you think will happen?