Controlling data within Rive
Rive includes several ways to update data directly inside your file:State machine actions
Update property values when transitions or state changes occur.
Listener actions
Update data in response to interactions and events.
Scripting
Write custom logic that reads and updates data.
Target-to-source Binding
Update data using an element’s property value.
Property Groups
Animate values and bind them back to data.
Controlling data from code
Your application can also update data at runtime. For example, you might:- Update a player’s score
- Change a username or profile image
- Display live stock prices
- Trigger UI states based on user interaction