5 Replies Latest reply on Apr 3, 2012 4:21 PM by samwilliams21

    setting multiple attributes for an effect in one go???

    samwilliams21 Level 1



      i am adding drop shadows to a layer and i wanted to set the distance, opacity and softness in an efficient way. Is it possible to do this on one line?


      so far my code is like this, i have only set the distance here:



      var comp = app.project.activeItem;


      comp.layer(1).property("Effects").addProperty("Drop Shadow").Distance.setValue(15);


      any thoughts??