Scatter: Difference between revisions

From StarLogo Nova Wiki
(add tooltip text)
(Marked this version for translation)
Line 8: Line 8:
<section begin=name/><p id="tooltip">Sets its location to a random position in SpaceLand.</p>
<section begin=name/><p id="tooltip">Sets its location to a random position in SpaceLand.</p>


<!--T:8-->
'''<code>scatter</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.
'''<code>scatter</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer.



Revision as of 14:26, 8 August 2023

Other languages:
Scatter.png

Sets its location to a random position in SpaceLand.

scatter is a code block part of the agents drawer.

Usage

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

Syntax

scatter

Nuances

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 [_] [▼](s) or create [_] [▼](s) each do block in which the scatter block was placed.

Related Blocks

scatter everyone

Relevant Video Resources

Relevant Activities