Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I apply an opacity value to the blending mode Script?

New Here ,
Oct 07, 2011 Oct 07, 2011

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

TOPICS
Scripting
732
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 07, 2011 Oct 07, 2011

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

Translate
Community Expert ,
Oct 07, 2011 Oct 07, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 07, 2011 Oct 07, 2011
LATEST

Dan

Thank again, you're a big help for me.

Rob

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines