ExtendScript – toComp?
I’m writing a simple ExtendScript script (.jsx) where I want to get the screen-space coordinates of a 3D layer (which is parented to another 3D layer). Usually, when using Expressions, I can use toComp, but it seems that toComp is not available in ExtendScript. Looking at the AE Scripting Guide (https://ae-scripting.docsforadobe.dev/), there doesn’t seem to be any similar functions to get the screen-space coordinates of a layer position (in relation to the comp).
Does anyone have any ideas how to accomplish this?