Stage Clock Set
stage_clock_setControl a scene's stage clock by playing or pausing playback, seeking to a time, setting rate, or defining a timeline span.
Instructions
Drive the scene's stage clock (page command: clock). action: play | pause (only these two act; the clock.js header also names seek, rate and span, which work as the fields below instead). t seeks (clamped to the span), rate sets the speed, span [t0, t1] sets the timeline span in seconds. Playing loops at the end. Page replies {t, playing, rate, span}. Emits: clock (when t is given).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| t | No | ||
| rate | No | ||
| span | No | ||
| scene | Yes | ||
| action | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |