right
index
 
Name right ()
Description Turns the Turtle right an angle.
Syntax right (angle);
Parameters
angle   (float)
Returns None
Related left()
Example

    Turtle t = new Turtle(this);

    //draws a square
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);    
    t.forward(100);
    t.right(90);
    t.drawPath(g);