### patch-set

#### patch-set value1
(patch-set value1 value2 ...)

Reports an agentset containing all of the patches anywhere in any of the inputs. The inputs may be individual patches, patch agentsets, nobody, or lists (or nested lists) containing any of the above.

    patch-set self
    patch-set patch-here
    (patch-set self neighbors)
    (patch-set patch-here neighbors)
    (patch-set patch 0 0 patch 1 3 patch 4 -2)
    (patch-set patch-at -1 1 patch-at 0 1 patch-at 1 1)
    patch-set [patch-here] of turtles
    patch-set [neighbors] of turtles

See also turtle-set, link-set.

Take me to the full NetLogo Dictionary