I used the function screensize() and it told me that my window was (400, 300). I need to get to the top left hand corner to draw some stuff, but when I put in (-400, 300), my turtle goes way off the window. Is there any other function I can use to get the size of my turtle window?
1 Answer 1
The point 0, 0 is in the center of the screen, so if you want to go to the top left corner, you need to use turtle.goto(200, 150). A problem also could be that if you used setup() to create the window, screensize() will return the default, which is (400, 300), even if you screen is bigger.
Comments
Explore related questions
See similar questions with these tags.
x = -400the turtle is 200 pixels left of the screen.