Interactively drive a state machine
riv_play_state_machineRun Rive state machines step by step: set inputs, advance time, observe transitions, and capture frames for debugging and verification.
Instructions
Run a .riv state machine step by step: set/fire inputs, advance time, observe state transitions, and optionally capture frames. Returns a transition report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .riv file | |
| steps | Yes | Sequence of interaction steps | |
| width | No | ||
| artboard | No | ||
| background | No | ||
| stateMachine | No | State machine name (default: first) |