oxcor
oycor
ozcor

oxcor
oycor
ozcor
Observer Command

Reports the x-, y-, or z-coordinate of the observer.

See also setxyz

patch

patch pxcor pycor pzcor

3D version of patch.

Given three integers, reports the single patch with the given pxcor, pycor and pzcor. pxcor, pycor and pzcor must be integers.

ask (patch 3 -4 2) [ set pcolor green ]
;; patch with pxcor of 3 and pycor of -4 and pzcor of 2 turns green

See also patch

Take me to the full NetLogo Dictionary