getX ();
float
import Turtle.*; size(500,500); background(255); stroke(0); Turtle t = new Turtle(this); float x; //print Turtle's x coordinate t.forward(50); x=t.getX(); println(x);