Stamp: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
mNo edit summary
Line 11: Line 11:


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


Line 17: Line 17:


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

Revision as of 19:15, 10 August 2023

Other languages:


stamp

Colors a circle on the terrain in the agent’s current position, with size corresponding to the size of the agent.

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