Copy link to clipboard
Copied
Hello
How do I apply a opacity value to the blending mode Script?
Is this something like?
theLayer.blendingMode = BlendingMode.SOFT_LIGHT; // add blendingMode with opacity to selected layers
var opacity= opacity41
Thank you
It looks like you have the blending mode part right. Is the other part of your question how to set a layer's opacity value?
That would be like this:
theLayer.property("Opacity").setValue(41);
Dan
Copy link to clipboard
Copied
It looks like you have the blending mode part right. Is the other part of your question how to set a layer's opacity value?
That would be like this:
theLayer.property("Opacity").setValue(41);
Dan
Copy link to clipboard
Copied
Dan
Thank again, you're a big help for me.
Rob
Find more inspiration, events, and resources on the new Adobe Community
Explore Now