Ok, I am pretty sure that has been asked already, but the search results I found didn’t give any satisfying results.
I am trying to create a user interface with several components that should also effect others. Example: activating a switch component should also activate a numberbox below and so on. I have created a library of components with different variant states such as default, hovered, pressed, inactive.
Now I wanted to prototype a click dummy and here’s where I get stuck, because for whatever reason you can easily change an instances variant on click, hover, whatever but not the variant of another instance. Why?
I read that I need variables to do so and even subscribed to a professional plan to get access to them. I tried to follow the tutorial for this, however…
a) it only seems to work with boolean variables which provide only two states. So I have to create additional state variants for each component containing only a true / false state, which massively increases the complexity of my component variants setup. I tried to use string variable and matching the value with variable name but that didn’t work.
b) I have to create one variable per Instance I want to switch? This will become a pretty ridiculous number of variables pretty fast.
c) How would I combine that with the components own hover / pressed behaviors? It seems it ignores my logic variable switch because I linked that to the default state of the instance but when I hover it it changes to hover apparently. So I do need to re-logic all my components behaviors to combine it with a variable switch? What’s the point of using components then?
Please tell me I am doing something very wrong here, because I just spent money for a pro subscription and I wonder if I just got ripped off…