Stamp Grid: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
mNo edit summary
Line 18: Line 18:
<!--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/>
[[File:Stamp Grid Nums.png|right|alt=The Create Each Do Block|thumb]]
Inputs:
Inputs:
#a color block
#a color block

Revision as of 19:16, 10 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