Pen: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Line 18: Line 18:
==Related Blocks==
==Related Blocks==
*{{#var:cedol}}
*{{#var:cedol}}
<code>[[Stamp Grid |stamp grid [_]</code>]]
*{{#var:cedol<code>[[Stamp Grid |stamp grid [_]</code>]]}}


==Relevant Video Resources==
==Relevant Video Resources==


==Relevant Activities==
==Relevant Activities==

Revision as of 19:59, 10 November 2022


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