Turtle Command

color

Returns the color of the turtle.

Examples:
if color = black
[fd 3]

has all turtles check if they are black, and if so, move themselves forward by 3 turtle steps.

Related commands:
setc color-of color-at color-towards