Terrain Color: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
<section begin=image/> | <section begin=image/> | ||
[[File:Terrain color.png|alt=Terrain color|thumb]] | [[File:Terrain color.png|alt=Terrain color|thumb]] | ||
Line 19: | Line 22: | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> |
Revision as of 14:11, 16 March 2023
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.