I must be thinking about this in the wrong way and could use some help.
I have a number of layers which will need to be switched between two states on click: visible and hidden (with opacity at 1 and 0 respectively). Because I will want these states to be actively switched, I'm setting the layers in Sketch to be visible at-start (since Framer seems to have issues with hidden layers from Sketch) and then using states.switchInstant to hide the layers. My problem is that when I click on the object and it changes states, there's a slight flickering effect. What's the best way to approach situations like this?