From the course: Learning Scratch

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Spawn clones

Spawn clones - Scratch Tutorial

From the course: Learning Scratch

Start my 1-month free trial

Spawn clones

- [Voiceover] Our next step is to make the rocks move down. And we're going to use the same scripts to make the apples move down later on. Let's head over to the rocks, and I'm going to put it at the top, at about the center. Notice the X and Y values here. The Y values go up as an object goes up, and then down as the object goes down, and X values go low to the left, and high on the right. In the center, though, both are at zero. And that's important to understand. So we want an X of zero to start out this rock every time, and we want it to be above the screen. Now when I put my cursor all the way at the top, I get Y of 178. The top is at Y of 180. So I need to put it at or above 180 to get it nice and high up there so it's not showing on the screen all the time. In addition to that, I don't want this main rock to show ever. I want this rock to be basically a clone factory, as we've looked at earlier in this course. So let's start doing that. So with the rock selected, I'm going to…

Contents