Turtle and Observer Command

list-of-turtles-with [condition]

Returns a list of the who numbers of the turtles satisfying condition.

Examples:

list-of-turtles-with [color = red] returns a list of the who numbers of the red turtles.

Related commands: