__oxcor __oycor __ozcor

__oxcor __oycor __ozcor Observer Command

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

See also setxyz

patch4.1

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