turtles-at 1.0
turtles-at dx dy
<breeds>-at dx dy


Reports an agentset containing the turtles on the patch (dx, dy) from the caller. (The result may include the caller itself if the caller is a turtle.)
create-turtles 5 [ setxy 2 3 ]
show count [turtles-at 1 1] of patch 1 2
=> 5If the name of a breed is substituted for “turtles”, then only turtles of that breed are included.