Turtle and Observer Command

count-turtles-at xcor ycor

Returns the number of turtles xcor units in the x direction and ycor units in the y direction away from the caller.

Examples:

count-turtles-at 1 1 returns the number of turtles one patch to the right and one patch above the caller.

Related commands:
count-turtles-here count-turtles count-turtles-towards