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.

Pen

Pen - Scratch Tutorial

From the course: Learning Scratch

Start my 1-month free trial

Pen

- [Voiceover] The Pen scripts allow you to draw on the screen. So, let's say here, we have our ladybug app that moves around with key presses on the keyboard. Let's say we wanted to have the ladybug trace a path as she moves. So, here is a little app we created in another movie. So, if you're wondering how these scripts work, you can look in the previous movie and check that out. So, what I wanna do is make the pen draw. Now if you go to the pen scripts, you're going to see clear and that's going to clear everything that's been drawn with a pen. Stamp creates copies of an object. So, if we told this ladybug to stamp, like I can click this right here, then drag the ladybug over and there's a copy of the ladybug. Now, this stamp is not a separate spread. I can't drag it out. I can only drag this one. So, stamp's create just a visible copy, but not a new interactive sprite. And again, we can erase those by just running the clear script. So, I click clear and the extra ladybug goes away…

Contents