Scatter/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 4: | Line 4: | ||
<section begin=image/>[[File:Scatter.png|thumb|180x180px]]<section end=image/> | <section begin=image/>[[File:Scatter.png|thumb|180x180px]]<section end=image/> | ||
{{#vardefine:Scatter|<code>scatter</code>}} | {{#vardefine:Scatter|<code>scatter</code>}} | ||
<section begin=name/>'''<code>scatter</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | <section begin=name/><p id="tooltip">Sets its location to a random position in SpaceLand.</p> | ||
'''<code>scatter</code>'''<section end=name/> is a [[code block]] part of the [[agents]] drawer. | |||
== Usage == | == Usage == | ||
<code>scatter</code> is used to scatter an agent to a random location in [[SpaceLand]]. | |||
===Syntax=== | ===Syntax=== |
Revision as of 14:31, 8 August 2023
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.