Nearest Within Steps: Difference between revisions
(Marked this version for translation) |
mNo edit summary |
||
Line 11: | Line 11: | ||
<!--T:2--> | <!--T:2--> | ||
== Usage== | ==Usage== | ||
<code>nearest [▼] within [_] steps</code> is used to refer to the nearest [[agent]] of a selected breed that exists within a given [[step]] limit in [[Spaceland]]. | <code>nearest [▼] within [_] steps</code> is used to refer to the nearest [[agent]] of a selected breed that exists within a given [[step]] limit in [[Spaceland]]. | ||
Line 17: | Line 17: | ||
<!--T:4--> | <!--T:4--> | ||
[[File:Nearest Within Steps.png|right|alt=The Create Each Do Block|thumb]] | |||
<!-- <code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps</code> --> | <!-- <code>nearest [Dropdown: Type of Agent](s) within [Textbox: Number] steps</code> --> | ||
Inputs in this block: | Inputs in this block: |
Revision as of 19:12, 10 August 2023
Returns the closest agent of a selected breed in a given radius.
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
Inputs in this block:
- a breed from the dropdown menu
- a number