-
Accessing second layer parameter from script
Hello, so I am looking into using script to modify the second parameter of a layer information. (outlined in red in the screenshot).
So far I have this code:
selectedLayers[i].property(“Effects”).property(“MyEffect”).property(1).SetValue(1);
which allow me to set the first parameter to the layer I want but I can’t figure out how to modify the second one…
I need to set it automatically, because if the user keeps that parameter to Source (and not mask) the mask outline doesnt update unless a purge or another change happens, whereas it’s realtime when set to mask…). So I want to force it to Mask ☺
Anyone knows it if’s possible to do that?

Thank you very much!