list-of-turtles-at-with
xcor ycor [condition]
Parameters:
xcor |
Number |
number of steps in the x-direction from the caller |
ycor |
Number |
number of steps in the y-direction from the caller |
[condition] |
List of turtle commands |
list of commands that returns true or false |
Description:
Returns a list of all of the turtles xcor units away in the x-direction and ycor units away in the y-direction from the caller that also satisfy [condition].
Examples:
set blue_turtles list-of-turtles-at-with 1 1 [color = blue]
will set the variable blue_turtles
to a list of the who numbers of all of the blue turtles one unit away in the x-direction and one unit away in the y-direction from the caller.
Related Commands:
list-of-breed-at
list-of-breed-at-with
list-of-turtles-at
list-of-turtles-here-with
list-of-turtles-towards-with