Step 3 - Advanced Looping
Our chicken has further to go this time but still needs to be able to get to the coin with the least amount of instructions.
> Click on Level 3 to open it.
> Think carefully about the most efficient set of movements the chicken can make to get to the coin.

It looks like it will need to move up twice, left twice, and then up twice.
> Right-click on the chicken to edit its script.
> Grab "When the level starts" and "broadcast message" (from Events) and "repeat 10 times" (from Control Flow).
> Drag "repeat 10 times" into “When the level starts”, and then drag “broadcast message” into “repeat 10 times”.

> Make it repeat only 2 times, and change "message" to “up”.

The chicken still needs more movements repeated, so you’ll need multiples of these blocks.
> Right-click on "repeat 2 times" and select Duplicate.

> Remember the different directions the chicken needs to move in, and how many times they need to be repeated. It still needs to move left twice, and then up twice more.

Click Play to watch the chicken run our instructions.
Did the chicken reach the coin? Great! Let’s continue to the next step.
If not, have a look back over your Script and see if you can spot the bugs.