Adding an effect to a set position
Posted: February 8th, 2012, 9:52 pm
I want to add an effect to some layers in an AE script but instead of it adding it to the bottom of the property group, I want to insert it at a set location.
Here is my current code snippet.
Like I said, it works great other than it adds the new effect to the bottom of the group.
Any ideas?
Thanks.
Phil
Here is my current code snippet.
Code: Select all
if (thisEffectName == fxOld) { // found an old effect
thisEffect.remove();
currentEffects.addProperty(fxNew);
}
Any ideas?
Thanks.
Phil