Terrain Color: Difference between revisions

From StarLogo Nova Wiki
(Created page with "<section begin=image/> <section end=image/> <section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a code block part of the Environment drawer. == Usage== <p id="tooltip"><code>terrain color</code> refers to the color of the terrain that the agent is currently on.</p> ===Syntax=== <code>terrain color</code> ==Common Uses== This is commonly used as part of a conditional statement: for example, if an agent's color matches the col...")
 
No edit summary
Line 1: Line 1:
<section begin=image/>
<section begin=image/>
 
[[File:Terrain color.png|alt=Terrain color|thumb]]
<section end=image/>
<section end=image/>
<section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.
<section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[code block]] part of the [[Environment]] drawer.

Revision as of 10:17, 30 November 2022

Terrain color

terrain color is a code block part of the Environment drawer.

Usage

terrain color refers to the color of the terrain that the agent is currently on.

Syntax

terrain color

Common Uses

This is commonly used as part of a conditional statement: for example, if an agent's color matches the color of the terrain, then the agent should perform a certain action.

Nuances

Related Blocks