-
The right way to precompose a bunch of layers you generate from script?
I want to build a visual element to act as a guide. Its composed of a bunch of different native effects and layers. What’s the best way to create this guide in script? Do I generate all the layers individually with their effects, then select all of those recently created layers and precompose? Or is there a way to generate and add to a precomp at the same time? What’s the proper code for accomplishing something like this, and what is most efficient? Once the precomp is made, i also need to set the precomp’s blending mode to screen.