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
(
double
)
y
the y coordinate of the point
(
doube
)
Returns
None
Related
setX()
setY()
Example
Turtle t = new Turtle(this); t.goToPoint(100,100);