Pencil Code Reference > turnto
turnto is used to turn the turtle toward a position.
turnto does not depend on the turtle's current rotation. Instead it accepts an object name, position or an absolute angle.
turnto 90 turns the turtle straight right no matter its initial direction.
turnto lastmousemove will turn the turtle to face the mouse.