turtles-at4.1 <breeds>-at

turtles-at dx dy dz <breeds>-at dx dy dz Turtle Command Patch Command

3D versions of turtles-at and breeds-at.

Reports an agentset containing the turtles on the patch (dx, dy, dz) from the caller (including the caller itself if it's a turtle).

;; suppose I have 40 turtles at the origin
show [count turtles-at 0 0 0] of turtle 0
=> 40

Take me to the full NetLogo Dictionary