API Reference › Clock › Clock.reset
method

Clock.reset

Clock.reset()

Resets the simulated clock back to 0 (the 1970 epoch). Handy at the start of a new run or a replay.

Example

program Demo {
  handler Step phase Update {
    Clock.reset()
  }
}
← All symbols