Rive Test Lab

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

  1. Open Rive Test Lab and drop your .riv file on the stage.
  2. Pick the correct artboard in the left panel.
  3. Under State Machines, click the state machine to start it. Its inputs appear below.
  4. Toggle booleans, drag number sliders, and fire triggers. Confirm the animation responds as designed.
  5. 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.
  6. Watch the Console / Event Log for Rive events and errors.
  7. Click the canvas to check pointer listeners, and use the status bar to see pointer position.

Common problems

Next step

When it works, open Use in code to copy a snippet for Web, React, Vue, Flutter, iOS or Android.

Open Rive Test Lab – drop a .riv file