Nearest Within Steps With =: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
No edit summary
Line 12: Line 12:
<p id="tooltip"><code>nearest [▼] within [_] steps with [▼] = [_]</code> is used to refer to the nearest [[agent]] of a selected breed AND trait that exists within a given [[step]] limit in [[Spaceland]].</p>
<p id="tooltip"><code>nearest [▼] within [_] steps with [▼] = [_]</code> is used to refer to the nearest [[agent]] of a selected breed AND trait that exists within a given [[step]] limit in [[Spaceland]].</p>


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


<!--T:4-->
<!--T:4-->
<section begin=image/>[[File:Nearest Within Steps With Eq.png|right|alt=Nearest Within Steps With = |thumb]]<section end=image/>
<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]</code>
<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]</code>



Revision as of 20:19, 20 July 2023

Other languages:
Nearest within steps with =

nearest [▼] within [_] steps with [▼] = [_] is a code block part of the Detection drawer.

Usage

nearest [▼] within [_] steps with [▼] = [_] is used to refer to the nearest agent of a selected breed AND trait that exists within a given step limit in Spaceland.

Syntax

Nearest Within Steps With =

nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps with [Dropdown: Type of Trait](s) = [Textbox: Text]

Common Uses

Nuances

Related Blocks