Terrain Color/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 11: Line 11:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
== Usage==
==Usage==
<code>terrain color</code> refers to the color of the terrain that the [[agent]] is currently on.
<code>terrain color</code> refers to the color of the terrain that the [[agent]] is currently on.
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
===Syntax===
==Syntax==
</div>
</div>



Revision as of 19:25, 10 August 2023

Other languages:


Terrain color

terrain color is a bloque de código part of the ambiente drawer.

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

[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