Stamp/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 3: Line 3:
<section begin=image/>
<section begin=image/>
[[File:Stamp.png|alt=stamp|thumb]]
[[File:Stamp.png|alt=stamp|thumb]]
<section end=image/>
<section end=image/><p id="tooltip">Colors a circle on the terrain in the agent’s current position, with size corresponding to the size of the agent.</p>
 
<section begin="name" />'''<code>stamp [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] 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>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>
<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.


==Syntax==
==Syntax==

Revision as of 14:58, 8 August 2023

Other languages:


stamp

Colors a circle on the terrain in the agent’s current position, with size corresponding to the size of the agent.

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

The Create Each Do Block

Inputs:

  1. Color block


Common Uses

This is used to change the color of the terrain. Changing the color of all the terrain would require creating one large agent of size 200 and then stamping a certain color.

Nuances

Related Blocks