Turtle, Patch

color

Description:
Returns the color of the turtle, or if a patch is calling it, the color of one of the turtles on the patch.

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:
color-at color-of color-towards setcolor who