-
Extendscript: Add keyframes to hidden property
Hey guys,
as the title says, I’m trying to add keyframes to hidden properties.
Pretty straight forward, this is my code:
var Comp = app.project.activeItem;
var currentLayer = Comp.selectedLayers[i];
currentLayer.effect("Test")(5).setValueAtTime(Comp.time,myValue = 5);
The effect that’s being called is just a hidden Slider Control I made with Pseudo Effect Maker.The error message I get is this:
Unable to execute script at line 3. After Effects error: Can not "set value at time" with this property, because the property or a parent property is hidden.I have a strong feeling there’s just no way to achieve this. However, I’d be really happy if anyone knows a workaround for this problem.
Thanks in advance,
SimonMotion Designer
Website: https://simonheimbuchner.de/