Skip to content

Algorithm SDK

TICK_COUNT

The number of ticks handled before the current one: 0 on the first tick of the run.

declare const TICK_COUNT: number;
function onTick() {
if (TICK_COUNT % 1000 === 0) {
log("Ticks so far", TICK_COUNT);
}
}