Start by making a pencil that you can use to draw on the Stage.
Open the ‘Paint box’ Scratch starter project.
Online: open the starter project at paint-box-on
In the starter project, you should see pencil and eraser sprites:
Add the Pen extension to your project.
Add some code to the pencil sprite to make the sprite follow the mouse pointer forever
so that you can draw:
Click the flag and then move the mouse pointer around the Stage to test whether your code works.
Next, make your pencil only draw if
the mouse button is being clicked.
Add this code to your pencil sprite:
Test your code again. This time, move the pencil around the Stage and hold down the mouse button. Can you draw with your pencil?