penUp
index
 
Name penUp ()
Description Sets the current pen state to PENUP. Turtle will move around the screen, but will not draw when its pen state is PENUP. The turtle's default pen state is PENDOWN.
Syntax penUp();
Parameters
None  
Returns None
Related penDown()
Example

    Turtle t = new Turtle(this);

    t.forward(50);
    t.penUp();
    t.forward(50);
    t.penDown();
    t.forward(50);