Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions global effect toggler

  • global effect toggler

    Posted by Nico Jones on March 5, 2007 at 12:13 pm

    Greetings all, wonder if you can help.

    I’ve got a comp with about 20 solids with fractal noise, glow and various other stuff applied to them.

    Is there a way via expressions to create a checkbox that will switch off specific effects for multiple layers?

    So a switch that will let you turn off all the glows for a set of layers for instance. I can’t figure out how to link an effect on/off box to one of those checkbox effect things.

    It’s probably very simple but I’m beat.

    Cheers!

    Nico Jones replied 19 years, 5 months ago 2 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    March 5, 2007 at 2:16 pm

    Aharon’s Expression Controls #2 tutorial (a little farther down the page) will show you exactly how to do this.

    Dan

  • Nico Jones

    March 5, 2007 at 3:12 pm

    Thanks, I watched that tutorial this morning…but it doesn’t seem to tell me how to actually switch an effect off?

    It shows you how to link effect propeties or opacity properties to a checkbox but not the effect itself. I just want to be able to literally disable glow effects on 20 layers with a single checkbox. If that’s in the tutorial then I’m not looking right!

    Anyone care to help out an expressions simpleton here?

  • Dan Ebberts

    March 5, 2007 at 3:20 pm

    Hmmm… OK – I see.I guess it would depend on the effect. For glow you could set the Glow Intensity parameter to what you want and then apply this expression to that property to link it to your Check Box like this:

    if(thisComp.layer(“Null 1”).effect(“Checkbox Control”)(“Checkbox”) == 1) value else 0

    Dan

  • Nico Jones

    March 5, 2007 at 4:05 pm

    okey dokey, yeah that will work fine actually. The intensity of the glow and the opacity of the fractal noise.

    Thanks Dan

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