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.
Note: Rive 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.
Event Type
Set the event type (for From Animation events only):
General
Open URL
Audio event support is not available at this time.
Event Name
Set the event name. (for From Animation events only)
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.