3 Replies Latest reply on Dec 7, 2018 7:31 AM by fgrande147330

    Slider to control on and off for each layer separately?

    fgrande925

      I use n index for the layer number... this expression is applied to the opacity on every layer.. so if I want layer 25 to be on and the rest off I move the slider to 25

      This should work but it doesn't.

      I could use a little help

       

       

       

      n = thisComp.layer("Opacity Controller").effect("OPACITY_Control")("Slider");

       

      if(n==index)100 else 0