Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposed labels enhancement, question] Add variables #286

Open
DenisEke opened this issue Jan 10, 2021 · 0 comments
Open

[proposed labels enhancement, question] Add variables #286

DenisEke opened this issue Jan 10, 2021 · 0 comments

Comments

@DenisEke
Copy link

From my quick work with your animation tools I noticed the lack of one feature I desire. How about adding variables to the editor that then can be accessed programmatically from the engines (flutter etc.).

An example:
I have an animation for an icon and want to set its colour. Based on my search the way to do this for now is to get the different pieces of the artboard and then change their fill colour. (https://stackoverflow.com/questions/62489065/change-color-in-rive-flare).

The way I would love to use this feature is the following. In the editor I create a variable and then I set the colour (or any other atomic property) to this variable. I then can easily access and set this variable from for example Flutter.

Let me know if you need further clarification and what you think of this. Maybe I am missing a better way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant