- September 11, 2020 at 12:04 am
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 ?
- 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”)
- January 13, 2021 at 4:17 pm
Thanks Chris. True it works fine the way it is.
I discovered a space in my code. After 2 weeks of going crazy I noticed the typo !
Log in to reply.