-
Add keyframe on current Time
Simple but weird. I can’t get to use addKey where the Current time indicator stands. I just want to add a key frame to the shape layer:
opaCity = shapeLayer.property(“Transform”).property(“Opacity”).setValue(0);
btn6.onClick = function(){
shapeLayer.property(“Transform”).property(“Opacity”).addKey(KeyframeTime);
}
////I tried this and other couple of things for this” KeyframeTime”:
KeyframeTime = app.project.items.testComp.layers.shapeLayer.keyTime(1). — and isnt working