Turtle and Observer Command

food-towards angle distance

Returns the value of thefood variable of the patch distance away at angle angle.

Example:

food-towards 0 1 returns the value of the food variable of the patch one patch in front of the caller.

Related commands: