Scratch: Drawing Shapes

Scratch can draw shapes using commands that you program.

Before we start, we need to add the “pen” extension. I will show you how.

The Scratch stage is divided into an invisible X Y grid like this where 0,0 is the center of the stage:

 

Here’s a good starter example of drawing a square using three different methods. Using custom blocks (also known as functions) makes your programs shorter and more efficient. Click here to run this program and see inside.