FANDOM


Syntax

SETPEN [penstate pencolor]

Explanation

SETPEN changes the state of the turtle's pen and the pen color as specified by its input list. The first element of the list can be PENUP, PENDOWN, PENERASE, or PENREVERSE. The second element is a number from 0 to 255 which specifies the pen color.

Use PEN to output the current turtle's pen state and PENCOLOR to output the current turtle's pen color. See also SETPC.

Example

Pc logo 59

Can you see the color? The color is different. Default is White, But Its Black.

? SETBG 0

? SETPEN [PX 15]

? FD 30

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.