### turtle-set

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

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

    turtle-set self
    (turtle-set self turtles-on neighbors)
    (turtle-set turtle 0 turtle 2 turtle 9)
    (turtle-set frogs mice)

See also patch-set, link-set.

Take me to the full NetLogo Dictionary