Stamp: Difference between revisions

From StarLogo Nova Wiki
(Created page with "Category:Detection Category:Code Block <section begin=image/>alt=Nearest within steps with =|thumb<section end=image/> <section begin="name" />'''<code>nearest [▼] within [_] steps with [▼] = [_]</code>'''<section end="name" /> is a code block part of the Detection drawer. == Usage== <p id="tooltip"><code>nearest [▼] within [_] steps with [▼] = [_]</code> is used to refer to the nearest agent of a sele...")
 
No edit summary
Line 2: Line 2:
[[Category:Code Block]]
[[Category:Code Block]]
<section begin=image/>[[File:Nearest within steps with =.png|alt=Nearest within steps with =|thumb]]<section end=image/>
<section begin=image/>[[File:Nearest within steps with =.png|alt=Nearest within steps with =|thumb]]<section end=image/>
<section begin="name" />'''<code>nearest [▼] within [_] steps with [▼] = [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Detection]] drawer.
<section begin="name" />'''<code>stamp [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.


== Usage==
== Usage==
<p id="tooltip"><code>nearest [▼] within [_] steps with [▼] = [_]</code> is used to refer to the nearest [[agent]] of a selected breed AND trait that exists within a given [[step]] limit in [[Spaceland]].</p>
<p id="tooltip"><code>stamp [_]</code> causes the [[agent]] to draw a circle on the [[terrain]] in the agent's current position, with size corresponding to the size of the agent.</p>


===Syntax===
===Syntax===


<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]</code>
<code>stamp [Textbox: Color]</code>


==Common Uses==
==Common Uses==
Line 16: Line 16:


==Related Blocks==
==Related Blocks==
*<code>[[Nearest Within Steps|nearest [▼] within [_] steps]]</code>
*<code>[[Nearest Within Steps|stamp grid [_]]]</code>

Revision as of 09:08, 10 November 2022

Nearest within steps with =

stamp [_] is a code block part of the Environment drawer.

Usage

stamp [_] causes the agent to draw a circle on the terrain in the agent's current position, with size corresponding to the size of the agent.

Syntax

stamp [Textbox: Color]

Common Uses

Nuances

Related Blocks