ticks

ticks

Reports the current value of the tick counter. The result is always a number and never negative.

Most models use the tick command to advance the tick counter, in which case ticks will always report an integer. If the tick-advance command is used, then ticks may report a floating point number.

See also tick, tick-advance, reset-ticks.

Take me to the full NetLogo Dictionary