dynamic on/off layer hide
Posted: January 21st, 2014, 9:44 am
Hello everyone. First and foremost, I did my best to do my homework, and im really stumped. Apparently, from the plethora of forum posts I've seen on this topic, I'm not the only one. So here goes:
I am trying to create a check box on/off control that will hide/unhide multiple layers. Now, I know that this can easily be done withe an if/else statement to the opacity channel. Which is great. The trouble is, not all of the layers are set to 100% opacity, and to add further complexity the layers need to maintain the flexibility to be changed (even animation).
So my question boils down to: is there a way I can store opacity values for each layer and link that to the checkbox control to turn on/off? Is there another way of doing this without variables (like just multiplying everything by -1(off) and then back to +1(on)? I literally dont know what expression to study, variables just seemed like the next logical step...
I am trying to create a check box on/off control that will hide/unhide multiple layers. Now, I know that this can easily be done withe an if/else statement to the opacity channel. Which is great. The trouble is, not all of the layers are set to 100% opacity, and to add further complexity the layers need to maintain the flexibility to be changed (even animation).
So my question boils down to: is there a way I can store opacity values for each layer and link that to the checkbox control to turn on/off? Is there another way of doing this without variables (like just multiplying everything by -1(off) and then back to +1(on)? I literally dont know what expression to study, variables just seemed like the next logical step...