How to test a Rive state machine online
A Rive state machine reacts to inputs (booleans, numbers, triggers). Testing it before you integrate saves round trips between design and code. Here is how to do it with Rive Test Lab.
Steps
- Open Rive Test Lab and drop your
.rivfile on the stage. - Pick the correct artboard in the left panel.
- Under State Machines, click the state machine to start it. Its inputs appear below.
- Toggle booleans, drag number sliders, and fire triggers. Confirm the animation responds as designed.
- Open the State Machine Map on the right. Each state you reach becomes a node and each transition an arrow, so you can see what your inputs actually triggered.
- Watch the Console / Event Log for Rive events and errors.
- Click the canvas to check pointer listeners, and use the status bar to see pointer position.
Common problems
- Nothing happens: make sure a state machine, not just a timeline animation, is playing.
- Wrong size: try another Fit mode (contain, cover, layout).
- Input missing: inputs belong to a specific state machine; select the right one.
Next step
When it works, open Use in code to copy a snippet for Web, React, Vue, Flutter, iOS or Android.