Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Copy effect values from another layer through Layer Control

  • Copy effect values from another layer through Layer Control

  • Ahad elshabeb

    September 11, 2020 at 12:04 am

    Hi

    Is it possible to access the values of an effect on another layer through a layer control.

    An example would be. Layer 1 and Layer 2 have “Fill” effect.

    I want the Fill color of Layer 1 to take the Fill value of Layer 2 ( any layer with Fill effect that is selected through the layer control)

     

    This line doesn’t work :

    effect(“Layer To Align To”)(“Layer”).effect(“Fill”)(Color)

     

    It works with layer properties like

    effect(“Layer To Align To”)(“Layer”).position

     

    Is it a limitation of Layer control or I typed it wrongly ?

  • Chris Voelz

    September 15, 2020 at 4:27 pm

    This worked fine for me.

    Applied Layer Controller to Layer 1, and set it to Layer 2
    Applied Fill Effect to Layer 1
    Applied this expression on the Fill Color of Layer 1, effect(“Layer Control”)(“Layer”).effect(“Fill”)(“Color”)

Viewing 1 - 2 of 2 posts

Log in to reply.

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