Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions opacity with expression

  • opacity with expression

    Posted by Saso Goricar on August 13, 2019 at 11:27 am

    Hi,

    I’m creating a motion graphic template. Is it possible to make the shape opacity the way that opacity will be controlled with two sliders?
    First, with checkbox controller you can turn opacity on or off, at the same time, when opacity is on, you can control opacity with a slider?
    I know it is easier to create just one slider and drop the opacity to 0%, but I wonder is this possible with some kind of expression?

    Thanks for the answers.

    Saso

    Saso Goricar replied 6 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 13, 2019 at 3:35 pm

    Something like this should work:

    cb = effect(“Checkbox Control”)(“Checkbox”).value;
    s = effect(“Slider Control”)(“Slider”).value;
    cb ? s : 0

    Dan

  • Saso Goricar

    August 13, 2019 at 6:09 pm

    Hi Dan,

    this works perfectly.

    Thanks,
    Saso

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy