NetLogo Help: patch-at-heading-and-distance

### patch-at-heading-and-distance2.0

#### patch-at-heading-and-distance heading distance

patch-at-heading-and-distance reports the single patch that is the given distance from this turtle or patch, along the given absolute heading. (In contrast to patch-left-and-ahead and patch-right-and-ahead, this turtle's current heading is not taken into account.) Reports nobody if the patch does not exist because it is outside the world.

    ask patch-at-heading-and-distance -90 1 [ set pcolor green ]
    ;; turns the patch 1 to the west of this patch green

See also patch, patch-at, patch-left-and-ahead, patch-right-and-ahead.

Take me to the full NetLogo Dictionary