clearTurtleHistory
index
 
Name clearTurtleHistory ()
Description Deletes the history of the Turtle's movement. The next time draw() is called, all drawing that occured before clearTurtleHistory() is deleted.

The turtle maintains its current position and orientation. Only the path history is deleted.
Syntax clearTurtleHistory ();
Parameters
None  
Returns None
Example

      t.clearTurtleHistory();