Extend your drawing program with the line command to draw only if the mouse-button is pressed.
10: Exercise - Animating your emoji
10: Example - Switch through different states