Turtle and Observer Command

food-at xcor ycor

Returns the value of the variable food of the patch at xcor ycor relative to the caller.

Example:

food-at 1 1 returns the value of the variable food one patch to the right and one patch above the caller.

Related commands: