patch-at4.1

patch-at dx dy dz Turtle Command Patch Command

3D version of patch-at.

Reports the single patch at (dx, dy, dz) from the caller, that is, dx patches east, dy patches north and dz patches up from the caller.

ask patch-at 1 -1 1 [ set pcolor green ]
;; turns the patch just southeast and up from the caller green

Take me to the full NetLogo Dictionary