[Question] Is there any way to change the artboard background color to transparent on the @rive-app/canvas runtime
Hello! I am a web developer trying to use Rive. I hired a freelancer to make a nice animation and got a .riv file. However, the background color is wrong and I was hoping there was a way to change it (to transparent) on the runtime. Looking at the high and low level API docs there doesn't seem to be any way to do this.
Thanks!
We don't provide an API to update colors at this stage for our runtimes, but it's on our roadmap.
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.