Scatter
Sets its location to a random position in SpaceLand.

Description
The Scatter block sets the location of the agent executing it to a random position in SpaceLand. This is a code block part of the agents drawer.
Usage
Scatter is used to scatter an agent to a random location in SpaceLand.
Syntax
This block has no inputs.
scatter
Example
The scatter block assigns a random location to each agent who calls scatter. Note that this will not assign a random Z value. Note that the 'delete everyone,' 'create each do,' and 'set my to' blocks instruct The World to carry out the desired commands.

Notes
An important difference between scatter and scatter everyone is that scatter everyone scatters all agents in SpaceLand to random locations. Scatter only scatters the agents created by the create or create each do block in which the scatter block was placed.
Related Blocks
- Scatter Everyone - Scatters all agents in SpaceLand to random locations