NetLogo Help: at-points

### at-points1.0

#### agentset at-points [[x1 y1] [x2 y2] ...]

Reports a subset of the given agentset that includes only the agents on the patches at the given coordinates (relative to this agent). The coordinates are specified as a list of two-item lists, where the two items are the x and y offsets.

If the caller is the observer, then the points are measured relative to the origin, in other words, the points are taken as absolute patch coordinates.

If the caller is a turtle, the points are measured relative to the turtle's exact location, and not from the center of the patch under the turtle.

    ask turtles at-points [[2 4] [1 2] [10 15]]
      [ fd 1 ]  ;; only the turtles on the patches at the
                ;; coordinates (2,4), (1,2) and (10,15),
                ;; relative to the caller, move

Take me to the full NetLogo Dictionary