API Reference › Time › Time.elapsed
method

Time.elapsed

Time.elapsed() -> fixed

Returns the time since the program started, in seconds, as a fixed — exactly Time.frame() divided by 60. Deterministic and replay-safe. Use it for wave timers, day/night cycles, and anything paced in seconds.

Example

program Demo {
  handler Step phase Update {
    if Time.elapsed() > 10.0 { start_wave() }
  }
}
← All symbols