Effect disable
Posted: January 5th, 2010, 6:45 am
How can I disable an effect? I need to add an effect to a layer with some settings but then disable (or maybe "hide" is the real word?) it to use that later by the user.
I use the following script: Unfortunately effect.numProperties equals to 3 - these two properties and "Native motion Blur". I do not see an enabled value or anything like that.
I use the following script:
Code: Select all
var effect = alphaLayer.property("Effects").addProperty("CC Wide Time");
effect.property("Forward Steps").setValue(20);
effect.property("Backward Steps").setValue(0);