Stamp: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
<section begin=image/>
<section begin=image/>
[[File:Stamp.png|alt=stamp|thumb]]
[[File:Stamp.png|alt=stamp|thumb]]
Line 7: Line 8:
<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.


<!--T:2-->
== 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>
<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=== <!--T:3-->


<!--T:4-->
<code>stamp [Textbox: Color]</code>
<code>stamp [Textbox: Color]</code>


<!--T:5-->
==Common Uses==
==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.  
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==
==Nuances== <!--T:6-->


<!--T:7-->
==Related Blocks==
==Related Blocks==
*<code>[[Stamp Grid|stamp grid [_]]]</code>
*<code>[[Stamp Grid|stamp grid [_]]]</code>

Revision as of 14:44, 27 June 2023

Other languages:


stamp

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

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