Set Clock To: Difference between revisions
(Created page with "<section begin=image/> <section end=image/> <section begin="name" />'''<code>set clock to[_]</code>'''<section end="name" /> is a code block part of the Environment drawer. == Usage== <p id="tooltip"><code>stamp [_]</code> causes the agent to draw a circle on the terrain in the agent's current position, with size corresponding to the size of the agent.</p> ===Syntax=== <code>stamp [Textbox: Color]</code> ==Common Uses== This is used to change the col...") |
No edit summary |
||
Line 5: | Line 5: | ||
== Usage== | == Usage== | ||
<p id="tooltip"><code> | <p id="tooltip"><code>set clock to [_]</code> sets the value of clock to some number. Typically, when you reset the clock, you want to start it at 0.</p> | ||
===Syntax=== | ===Syntax=== | ||
<code> | <code>set clock to [Textbox: Number]</code> | ||
==Common Uses== | ==Common Uses== | ||
This is used to | This is commonly used to reset the clock, which is helpful for each time you run a simulation. | ||
==Nuances== | ==Nuances== | ||
==Related Blocks== | ==Related Blocks== | ||
*<code>[[ | *<code>[[Clock|clock]]</code> | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Code Block]] | [[Category:Code Block]] |
Revision as of 10:30, 30 November 2022
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.