Stamp Grid: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(add tooltip text)
Line 5: Line 5:
<section begin=image/>
<section begin=image/>
[[File:Stamp grid.png|alt=Stamp grid|thumb]]
[[File:Stamp grid.png|alt=Stamp grid|thumb]]
<section end=image/>
<section end=image/><p id="tooltip">Colors one grid square on the terrain in the agent’s current position.</p>
 
<section begin="name" />'''<code>stamp grid [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.
<section begin="name" />'''<code>stamp grid [_]</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.


<!--T:2-->
<!--T:2-->
== Usage==
== Usage==
<p id="tooltip"><code>stamp grid [_]</code> causes the [[agent]] to color one grid square on the [[terrain]] in the agent's current color on the agent's current position.</p>
<code>stamp grid [_]</code> causes the [[agent]] to color one grid square on the [[terrain]] in the agent's current color on the agent's current position.


==Syntax== <!--T:3-->
==Syntax== <!--T:3-->

Revision as of 14:50, 8 August 2023

Other languages:


Stamp grid

Colors one grid square on the terrain in the agent’s current position.

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

Usage

stamp grid [_] causes the agent to color one grid square on the terrain in the agent's current color on the agent's current position.

Syntax

The Create Each Do Block

Inputs:

  1. a color block

Common Uses

This is used to track agents' individual impact on the terrain.

Nuances

Related Blocks