Creating a Loop

Further Settings

How do we refer to the instances of ball now? Let's add another command setting the Y position of myBall outside the for loop:

Check out the results:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

It looks like only the last iteration of the for loop can be targeted with myBall. What is the instance name of the other balls?

That's too bad! If we want to set any properties outside the for loop, we're going to need to modify our technique. We'll save that for the next lesson.