If

From StarLogo Nova Wiki
Revision as of 20:39, 28 June 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
The if block

if [_] is a code block part of the Logic drawer.

Usage

if [_] takes in comparative statements from the Logic drawer to test for a condition. The agent will only follow commands attached to the hook if the statement is true.

Syntax

if [Insert: Condition]

Nuances

Related Blocks