Hint: Debug the codes, the pen is drawing non stop. Can you control the pen to draw only when you click on the mouse?