Color Terreno

From StarLogo Nova Wiki
Revision as of 14:53, 27 June 2023 by Admin (talk | contribs) (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.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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