-
add drop shadow to layer
Trying to create a script thats gonna add a layer with a dropshadow to the 3th layer in every comp in my project for automation but i dont get it.
var myComp = app.project.activeItem;
var backgroundLayer = currentComp.layers.addSolid([93, 5, 2], “Background”);backgroundLayer.Effects.addProperty(“Drop Shadow”);
backgroundLayer.property(“Effects”).property(“Drop Shadow”).property(“Softness”).setValue([28]);get the error null is not an object…