create a function to store the mouse clicks and redraw from the mouse clicks in turtle.
#create a function to store the mouse clicks def storeClick(x, y): global clicks clicks += [[x, y]] #function to draw using the mouse clicks def drawFromClicks(): for click in clicks: turtle.goto(click[0], click[1]) #add the handler to the turtle window turtle.onscreenclick(storeClick)