The World: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
mNo edit summary
Line 11: Line 11:


<!--T:2-->
<!--T:2-->
== Usage==
==Usage==
<code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).
<code>The World</code> refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).


===Syntax=== <!--T:3-->
==Syntax== <!--T:3-->


<!--T:4-->
<!--T:4-->

Revision as of 19:20, 10 August 2023

Other languages:


The world

Returns an agent (data type) that represents The World.

The World is a code block part of the Environment drawer.

Usage

The World refers to an agent that represents The World. Can be used as a location to mean the center of SpaceLand, which is (0,0).

Syntax

[Textbox Insert] The World

Common Uses

Useful for simulations that require recursion, or agents that can act as the base case.

Nuances

Related Blocks