Terrain Color/es: Difference between revisions

From StarLogo Nova Wiki
(Created page with "<section begin=image/> alt=Terrain color|thumb <section end=image/> <section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a code block part of the Ambiente drawer.")
 
No edit summary
Line 2: Line 2:


<section begin=image/>
<section begin=image/>
[[File:Terrain color.png|alt=Terrain color|thumb]]
[[File:ColorTerreno.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 [[Ambiente]] drawer.
<section begin="name" />'''<code>terrain color</code>'''<section end="name" /> is a [[code block]] part of the [[Ambiente]] drawer.

Revision as of 20:23, 29 June 2023

Other languages:


Terrain color

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

Usage

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

Syntax

[Textbox Insert] 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