one-of-breed-at
xcor ycor
Parameters:
xcor |
Number |
x-coordinate |
ycor |
Number |
y-coordinate |
Description:
Returns a random turtle of breed breed xcor units in the x direction and ycor units in the y direction away from the caller.
Examples:
one-of-frogs-at 1 1
returns a random turtle of breed frogs
one unit to the right and one unit above the caller.
Related Commands:
one-of-breed
one-of-breed-at-with
one-of-breed-here
one-of-breed-towards
one-of-turtles-at