one-of-breed-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 commands |
list of commands that returns true or false |
Description:
Returns a random turtle of the breed specified that satisfies [condition] that is on the patch xcor units away in the x direction and ycor units away in the y direction
Examples:
one-of-dogs-at-with 1 1 [color = brown]
returns a turtle of breed dog that is 1 unit away in the x direction, 1 unit away in the y direction and is brown
Related Commands:
one-of-breed
one-of-breed-at
one-of-breed-here-with
one-of-breed-towards-with
one-of-turtles-at-with