Pen: Difference between revisions

From StarLogo Nova Wiki
No edit summary
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
[[Category:Environment]]
[[Category:Environment]]
[[Category:Code Block]]
[[Category:Code Block]]
Line 11: Line 12:
==Usage==
==Usage==


<!--T:2-->
<p id="tooltip"><code>pen [▼](s)</code> adjusts the pen tool. If the pen is down, the agent stamps the terrain at each position as it moves. If the pen is up, the agent does not stamp the terrain.</p>
<p id="tooltip"><code>pen [▼](s)</code> adjusts the pen tool. If the pen is down, the agent stamps the terrain at each position as it moves. If the pen is up, the agent does not stamp the terrain.</p>


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


<!--T:4-->
<code> pen [Dropdown: Down/Up] </code>
<code> pen [Dropdown: Down/Up] </code>


==Nuances==
==Nuances== <!--T:5-->


<!--T:6-->
An important difference between {{#var:pen}} and {{#vardefineecho:cedol|<code>[[Stamp|stamp [_]</code>]]}} is that {{#vardefineecho:cedo|<code>pen [▼]</code>}} allows for continuous marking of the terrain that always follows the agent's movement.
An important difference between {{#var:pen}} and {{#vardefineecho:cedol|<code>[[Stamp|stamp [_]</code>]]}} is that {{#vardefineecho:cedo|<code>pen [▼]</code>}} allows for continuous marking of the terrain that always follows the agent's movement.


<!--T:7-->
==Related Blocks==
==Related Blocks==
*{{#var:cedol}}
*{{#var:cedol}}
*<code>[[Stamp Grid |stamp grid [_]</code>]]
*<code>[[Stamp Grid |stamp grid [_]</code>]]


==Relevant Video Resources==
==Relevant Video Resources== <!--T:8-->


==Relevant Activities==
==Relevant Activities== <!--T:9-->
</translate>
</translate>

Revision as of 14:46, 27 June 2023

Other languages:
pen


pen [▼] is a code block part of the Environment drawer.

Usage

pen [▼](s) adjusts the pen tool. If the pen is down, the agent stamps the terrain at each position as it moves. If the pen is up, the agent does not stamp the terrain.

Syntax

pen [Dropdown: Down/Up]

Nuances

An important difference between pen [▼] and stamp [_] is that pen [▼] allows for continuous marking of the terrain that always follows the agent's movement.

Related Blocks

Relevant Video Resources

Relevant Activities