Set Clock To/en: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(No difference)

Revision as of 14:34, 28 June 2023

Other languages:


Set clock to

set clock to [_] is a code block part of the Environment drawer.

Usage

set clock to [_] sets the value of clock to some number. Typically, when you reset the clock, you want to start it at 0.

Syntax

set clock to [Textbox: Number]

Common Uses

This is commonly used to reset the clock, which is helpful for each time you run a simulation.

Nuances

Related Blocks