Pen: Difference between revisions
(Marked this version for translation) |
No edit summary |
||
Line 15: | Line 15: | ||
<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== <!--T:3--> | |||
<!--T:4--> | <!--T:4--> | ||
<code> pen [Dropdown: Down/Up] </code> | <!-- <code> pen [Dropdown: Down/Up] </code> --> | ||
<section begin=image/>[[File:Pen Nums.png|right|alt=The Pen Block|thumb]]<section end=image/> | |||
Inputs: | |||
#either “up” or “down” from the dropdown menu | |||
==Nuances== <!--T:5--> | ==Nuances== <!--T:5--> |
Revision as of 16:34, 21 July 2023
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
Inputs:
- 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.