Skip to content
Version: XState v4

Live simulation mode

Live simulation mode helps you share your simulated machine with your team without screen sharing or screenshots. Share the generated live simulation link, and your team can view your simulation in real-time and even trigger events themselves.

Two views of the Studio, left is the user sharing the Live simulation and right is the user who joins the Live simulation.Two views of the Studio, left is the user sharing the Live simulation and right is the user who joins the Live simulation.

Simulate your machine with others

You must be signed in to start a live simulation. Enter Simulate mode from the Simulate button.

Use the Live mode button in the bottom left corner to reveal the Live simulation options and choose Start a live simulation to start a live simulation session.

When your machine is in live simulation mode, the Live simulation panel will display in the bottom left corner with a six-character unique code (for example: 3KNYII) along with Copy link and Stop buttons. The current state and next events will also be highlighted in orange.

Share your live simulation session with whoever you want using the link or unique session code.

Join a Live simulation using a unique session code

  1. Select the Simulate mode from the center of the visual editor.
  2. Use the Live mode button in the bottom left corner to reveal the Live simulation options.
  3. Choose Join a Live simulation to join an existing live simulation mode session.
  4. Enter the unique session code you’ve been provided into the text box.
  5. Select the Join button to join the session.

Join a Live simulation using a unique session URL

Paste the URL shared with you into your browser address bar and hit enter to join the Live simulation session.