Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression on Layers

  • Filip Vandueren

    February 12, 2009 at 8:23 am

    Again, can you be more precise +?
    What do you mean by stopping the random glow:

    The glows should go away entirely ?
    The glows should stop varying randomly and hold their current value?
    The glows should stop varying randomly and all settle on the same non random value?

  • Christopher Rotter

    February 12, 2009 at 3:46 pm

    The glows go away entirely. So what I have is a expression on each layer so that each layers glow intensity is different and though one control I can keyframe the glow intensity of all the layers and also keyframe it so that it’s off as in no glow either.

  • Filip Vandueren

    February 12, 2009 at 5:04 pm

    Just set the Glow at a non-zero value manually.
    For example intensity = 2;

    Create your control Slider on a Null.

    Give the Glow amount this expression:


    wiggle(1,value/2) * thisComp.layer("Null").effect("Glow Amount" ).slider;

    Now when the slider is animated to 0, all the glows are zero,
    When the slider is up, the glow is active.

    Adjust the wiggle to your needs, I’ve set it up so there’s a 50% intensity shift, but that could be too much. You can of course put some more sliders in this code to control the randomness and the wiggle-speed.

  • Christopher Rotter

    February 12, 2009 at 5:24 pm

    The expression gives me an error there is no such thing as “glow amount” so I changed it to “glow intensity” and it still doesn’t work.

  • Filip Vandueren

    February 12, 2009 at 7:08 pm

    Sorry,

    You should create a Null, add an expression control slider to it and rename the slider to “Glow Amount”.

    In the expression make double sure the name of the null layer and the name of the slider effect are correct.

  • Christopher Rotter

    February 13, 2009 at 12:27 pm

    I did what you mentioned and it didn’t work. So I renamed the slider to “glow amount” and now the expression gave no errors but it’s not doing anything?

  • Filip Vandueren

    February 13, 2009 at 3:59 pm

    It works for me.

    when the slider is set to 0, there’s no glow,
    when the slider is set to 1, all layers have random pulsating glows.

    In my case: (your layer and effect names would be different)

    wiggle(2,value/2) * thisComp.layer("Null 4").effect("Glow Amount" ).slider;

    If this is not working for you, you probably have the Glow set up wrong before you apply the expression.
    The Intensity should have a non zero value before you apply the expression.

  • Christopher Rotter

    February 13, 2009 at 8:25 pm

    wiggle(2,value/2) * thisComp.layer(“Null”).effect(“Glow Amount” ).slider;

    I have a layer named “Null”, and a slider named “Glow Amount” and this expression the is on the “glow intensity on the glow on the layer. And it’s not working.

  • Filip Vandueren

    February 13, 2009 at 9:43 pm

    – Disable the expression.
    – Set the Glow Intensity to 2.
    – is it glowing ? If not, set up the other parameters or increase the intensity.
    – set the slider to 1
    – re-enable the expression.

    If this is not working than I’m clueless.

  • Christopher Rotter

    February 14, 2009 at 12:37 am

    Alright, that worked but when I move the slider they both glow at the same time instead of one glowing a little off from the next and so on ?
    And why did I have to set the glow intensity first after disabling the expression and then re-enable the expression for it to work?

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