turtle.RawTurtle.position

RawTurtle.position()

Return the turtle’s current location (x,y), as a Vec2D-vector.

Aliases: pos | position

No arguments.

Example (for a Turtle instance named turtle): >>> turtle.pos() (0.00, 240.00)