Pen

From StarLogo Nova Wiki
Revision as of 19:17, 10 August 2023 by Admin (talk | contribs)
Other languages:
pen

Adjusts the pen tool. If the pen is down, the agent stamps the terrain at each position as it moves along the terrain. If the pen is up, the agent does not stamp the terrain.


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

The Pen Block

Inputs:

  1. either “up” or “down” from the dropdown menu

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