goToPoint
index
 
Name goToPoint ()
Description Jumps turtle to a point. Creates a line between the previous location and point jumped to.
Syntax goToPoint (x, y);
Parameters
x  the x coordinate of the point (float)
y  the y coordinate of the point (float)
Returns None
Related setX()
setY()
Example

    import Turtle.*;
    size(500,500);
    background(255);
    stroke(0);

    Turtle t = new Turtle(this);


    t.goToPoint(100,100);