InterfaceTypes & Utilities@public
DebugEvents
Payload shapes for each debug event type.
ts
export interface DebugEventsProperties
| Property | Modifiers | Type | Description |
|---|---|---|---|
"pause-change" | - | { paused: boolean; } | Engine paused/unpaused. |
"step-complete" | - | { frame: number; updateMs: number; } | Emitted after every simulation step. |
log | - | { color: number; message: string; timestamp: number; } | A log message was added. |
watch | - | { entries: readonly WatchSnapshot[]; } | Watch snapshot was taken. |