Skip to content
Konjure / spatial intelligence

time

← Builtin reference

Accepted simulation time in seconds inside a system lifecycle callback.

Signature

time: Number

time advances with accepted simulation ticks, not wall-clock time or browser rendering. The embedding host chooses the fixed cadence. Failed ticks do not publish new time; this immutable binding is unavailable at module scope.

Examples

Read simulation time

Step once: time is positive after the first accepted tick.

Press Step once to reach the checked result.

Tick 0 · 0.00 sThis device
main.kj⌘ / Ctrl + Enter
Loading the language runtime…
Output 0
No output.
Expected output
true

Rust definition

Machine supplies accepted simulation seconds as Value::Number.

See also