Drawing Tool

Basic Features

Step 6: Prevent drawing on the canvas when the user is not holding down the mouse.
Hint: When the mouse is moved around, check that the user has held down the mouse before drawing a line.
Last step Next step