-
[ExtendScript] equivalent function to fromComp/toComp in Script.
Hello guys,
I am new to Scripting in ES and I am trying to figure out how to link a null to any value selected.
I achieved that already, I have a nice UI with a text field and un button which create the null linked to the property ( mainly position of object).Sadly, it seems that if the object is parented to something else, it get crazy.
after looking around i found this expression :
https://www.motionscript.com/design-guide/threeD-corner-pin.html
it uses fromComp and toComp. those functions are exactly what I need!It works in expression field but debugger tells me “function undefined” if I put it in my script.
is there a equivalent in extend script? I can not find it anywhere… :s
(or maybe It is not the good way to go?)thanks a lot.