Copy link to clipboard
Copied
here is my code.
var myComp = app.project.activeItem;
var preCompLayer = myComp.selectedLayers[0];
i have a simple text 3d layer animating out of the screen view, now how do i use the expression on selected layer so the camera follows the text layer
Copy link to clipboard
Copied
Expressions are added via the property medhods and the respective subset for expressions. You may want to read the scripting documentation or study other people's scripts.
Mylenium