list-of-turtles-here-with
[condition]
Parameters:
[condition] |
List of turtle commands |
list of commands that evaluates to either true or false |
Description:
Returns the a list of the turtles on the caller's patch that meet the condition specified in [condition].
Examples:
set blue_turtles list-of-turtles-here-with [color = blue]
will set the variable blue_turtles
to a list of all of the blue turtles' who numbers that are the same patch as the caller.
Related Commands:
list-of-breed-here-with
list-of-turtles-at-with
list-of-turtles-towards-with