Is there any way to make the cursor (the turtle) go to the right , left, down and upper edge of the canvas?
Someone suggested to use turtle.setx() with argument as 0 to move to leftmost position. But when I do so, the turtle is moved to the default position (to the center).
Use the
window_width()andwindow_height()functions to determine the size of the window:This moves the turtle to the right-most edge: