pendown (pd)
Description:
Turtles put down their pens, meaning that they draw when they move, leaving a trail behind them. The color of the pen is that of the turtle.
Examples:
if pc = blue [pd]
commands the caller to put its pen down and leave a trail behind it if the patch it is on is blue.
Notes:
Only fd
and bk
will draw a line.
Related Commands:
pendown?
pendown?-of
pendown?-towards
penup
setpendown?-at
setpendown?-of
setpendown?-towards