Linking Layers with Expressions
Use this Expression to link one layer to another:
Navigate to the expressions text field of any numerical property and type in:
module:NameOfModule.brightness*0.5
This expression will take the brightness value of the other layer called NameOfModule and multiply it with 0.5.
Alternately, there are additional methods for using Expressions to link layers:
- Open a field on the source layer and type in the name of the attribute
= self
(for exampleposy = self
) - Open the properties window for the layer to be linked and type in the name of the attribute (example:
posy
) - Now, when you change the numeric value on the source layer, the same attribute in the linked layer will also be adjusted at the same time.
See Creating a connection using mouse drag to create the Expression automatically.
Note: Hold down Ctrl to open up multiple layers or keyframe editors.