Skip to main content

Overview

Rive Event triggers fire when a native Rive event occurs in an uploaded .riv file. Rive Events can fire when the Rive file loads, plays, pauses, stops, changes state, advances to the next frame, or fires a custom event created within the Rive file.
NoteRive Event triggers will only work when added to a Rive element.

Trigger Properties

Event

Set the trigger to fire when the Rive file loads, plays, pauses, stops, changes state, advances to the next frame, or fires a custom event:
  • On Load: Fires when the .riv file loads.
  • On Play: Fires when the animation starts playing.
  • On Pause: Fires when the animation pauses.
  • On Stop: Fires when the animation stops playing.
  • On State Change: Fires when a state change occurs.
  • On Advance: Fires every time the animation advances to the next frame.
  • From Animation: Fires when a selected animation created in Rive occurs.
  • Data Binding Change: Fires when the a specific piece of bound data changes it’s value.
  • From Animation
  • Data Binding Change

Event Type

Set the event type:
  • General
  • Open URL
Audio event support is not available at this time.

Event Name

Set the event name.You must enter the exact event name from Rive. Once we’re able to access Rive packages, we’ll allow you to select events rather than type them.

Is Enabled

Set if the trigger should fire when the trigger’s conditions are met.

Expression Editor Properties

Is Enabled

trigger.isEnabled
Whether the trigger is enabled or disabled.