Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Layer Styles : Proportionally scale values using percentage

  • Layer Styles : Proportionally scale values using percentage

    Posted by Tom Slinger on November 16, 2020 at 9:57 pm

    Hi there,

    I’m trying to figure out how to change the value of layer styles parameters using a percentage (drop shadow distance, spread and size) (pattern overlay scale).

    For instance, I’d want to change the drop shadow distance from 6 to 3. 100% to 50%.

    Ideally I’d want to be able to use a global control layer to make these percentage adjustments.

    I only want to do this because After Effects doesn’t have a function to automatically scale layer styles like you can do in illustrator.

    @danebberts – any thoughts would be greatly appreciated.

    Thanks,

    Tom

    Tom Slinger replied 5 years, 5 months ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    November 17, 2020 at 12:29 pm

    Add an effects > Expression controls > Slider Control to your layer and rename it to “Style Scale”. For starters set its value to 100.

    Now on any property you want to control with that slider use this expression:

    value * effect("Style Scale")("Slider").value/100;
  • Tom Slinger

    November 19, 2020 at 1:42 pm

    That’s amazing! Thanks for that, works really well.

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