Script to hide and show layer styles.
Hi! I have a rather complex character rig with many nested compositions and a lot of expressions to drive it. Almost all layers that make up the character have some layer styles applied. (inner shadow, inner glow etc). The thing is, the rig is starting to get very slow and laggy. When I disable the layer styles it moves a lot faster but turning them on and off one by one is not ideal. Could this be done with a script? Ideally, it would disable/enable all layer styles in the current comp as well as in all nested comps inside it. I don't have any experience with scripts, only expressions. Any help is greatly appreciated!
