turtle.TurtleScreenBase._onrelease

TurtleScreenBase._onrelease(item, fun, num=1, add=None)[source]

Bind fun to mouse-button-release event on turtle. fun must be a function with two arguments, the coordinates of the point on the canvas where mouse button is released. num, the number of the mouse-button defaults to 1

If a turtle is clicked, first _onclick-event will be performed, then _onscreensclick-event.