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 9: Line 9:
<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==
 
<section begin=image/>[[File:Stamp Nums.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
<!-- <code>stamp [Textbox: Color]</code> -->
Inputs:
#Color block


<code>stamp [Textbox: Color]</code>


==Common Uses==
==Common Uses==

Revision as of 16:32, 21 July 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

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