a left mouseClick sets a new point, which connect all other points and lines to them.
ACTION:
leftMouse -> you set a new point
rightMouse-> you remove the last point
draggingMouse -> the last point follows the mouse
releaseMouse -> the point starts moving
key SPACE -> remove all points
key 1, stop the moving of the points