Draw with the Pencil

Social Media - Depict and Deduce (Activity 3)

Video speed:


In this video, you’ll program the pencil to follow the mouse pointer and draw on the canvas.


  1. Program the pencil to follow the mousepointer.
  2. Make the pencil draw.
  3. Clear the canvas when the program starts.


Hey, club member! Sign in to get a badge for each activity you do!