Forum Replies Created

Page 2 of 2
  • Matthias Schwarz

    November 6, 2017 at 10:11 pm in reply to: Change layer visibility via Essential Graphics

    Hi,

    thanks for the idea. I tried to control a couple of layers and it worked! Fine!

    I made a null object and put this expression into a slider control:

    Math.floor(clamp(value,2,8));

    An on every layer which is controlled by the slider I put this expression to the opacity:

    if (thisComp.layer(“Controller”).effect(“Slider”)(“Schieberegler”) == thisLayer.index) 100 else 0;

    But now I think about the following: what if I have not only eight layers, but more. Is there a way to find it out by expression(or set the maximum number automatically)?

    Like this: Math.floor(clamp(value,2,MaxValue));

    I read something about try/catch, does this work or is there another way to achieve this?

    Yours, Matthias

  • Matthias Schwarz

    November 6, 2017 at 2:28 pm in reply to: Make a slider control layers visibility

    Dear Joe,

    could you please upload a CS6-version of this AE-project for me(your CC-Version doesn´t work for me)? I´m very interested in understanding this workflow because I´m new in expressions and I hope to understand it an wanna use this technique for some of my projects.
    Hope you read this,

    yours, Matthias

Page 2 of 2

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