Thread
M
11mo ago
Update Colors at runtime
Is it possible to update a color in my animation at runtime? Im using react.
3 replies
M
11mo ago
We don't provide an API to update colors at this stage for our runtimes.
Flutter and c++ are the only runtimes that you can delve into the internals to update some components, including the fills - see this issue: https://github.com/rive-app/rive-flutter/issues/287
If you only want to only support a few different colors, you can achieve it through a state machine input and updating the animation.
M
Author
11mo ago
Is this on the roadmap for Rive? It seems like a crucial feature.
11mo ago
It is something we are looking into. We don't have a release timeline I could provide.