Scatter

From StarLogo Nova Wiki
Revision as of 17:35, 8 August 2022 by Admin (talk | contribs)


Usage

scatter is used to scatter an agent to a random location in SpaceLand.

Syntax

scatter

Nuances

An important difference between and create [_] [▼](s) each do is that create [_] [▼](s) each do allows a section of code to run individually for each agent that is created. only creates agents with the default traits in the center of Spaceland.


create [_] [▼](s) each do can be useful for randomizing traits and scattering agents without effecting others.