Stamp Grid: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
No edit summary
Line 12: Line 12:
<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>
<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>


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


<!--T:4-->
<!--T:4-->
<code>stamp grid [Textbox: Color]</code>
<!-- <code>stamp grid [Textbox: Color]</code> -->
<section begin=image/>[[File:Stamp Grid Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
Inputs:
#a color block


<!--T:5-->
<!--T:5-->

Revision as of 16:32, 21 July 2023

Other languages:


Stamp grid

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