one-of-turtles-towards-with
angle distance [condition]
Parameters:
angle |
Number |
angle from caller |
distance |
Number |
distance from caller |
[condition] |
List of turtle commands |
list of commands that returns true or false |
Description:
Returns a random turtle that is distance distance away at an angle angle that satisfies [condition].
Examples:
one-of-turtles-towards-with 0 1 [color = red]
returns a red turtle that is 1 space away and directly in front of the caller.
Related Commands:
one-of-breed-towards
one-of-breed-towards-with
one-of-turtles-at-with
one-of-turtles-here-with
one-of-turtles-towards