Nearest Within Steps: Difference between revisions

From StarLogo Nova Wiki
(Marked this version for translation)
No edit summary
Line 15: Line 15:


<!--T:4-->
<!--T:4-->
<section begin=image/>[[File:Nearest Within Steps.png|right|alt=The Create Each Do Block|thumb]]<section end=image/>
<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps</code>
<code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps</code>



Revision as of 20:13, 20 July 2023

Other languages:
Nearest within steps

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

Usage

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

Syntax

The Create Each Do Block

nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps

Common Uses

Nuances

Related Blocks