Link

The Link behavior forces the value of one parameter to match that of another “linked” parameter. The source parameter can be attached to the same object or to another object. The linked parameters must contain numerical data. Parameters controlled by checkboxes, menus, and other non-numeric values cannot be linked. The linked parameters also must contain the same number of attributes. You cannot link a compound parameter such as Scale X-Y-Z to a parameter such as Opacity, which has only one slider. You can however, link a compound parameter such as Scale X-Y-Z to Position X-Y-Z.

Inspector showing Link behavior

The values of the source parameter can be scaled to more accurately apply to the destination parameter. For example, a source parameter with a range of 1–100 can be scaled when applied to a parameter with a range of 0–1. The values can also be offset from the source, and the effect can be mixed with the destination value to create different effects.

The Link behavior can be applied to a parameter animated with behaviors or keyframes; however, the Link behavior does not affect the parameter when the Start Values or End Values are zero.

When using the Link behavior to control an object’s position parameter, the linked coordinates are based on the center point of the current group. So when an object is linked to another object in the same group, it shares an identical position. However, if the source object is in a different group, the coordinates might appear offset in space.

If your goal is to match an identical position across groups with different center points, you can create an invisible dummy object in the group containing the source, link it to the source object, then use the Match Move behavior to copy the dummy object’s position to that of the intended target. Match Move compensates for inter-group position offsets and provides the option to attach one object to another or to mimic the source object’s transformations. For more information about the Match Move behavior, see Match moving overview.

You can also link to the group’s coordinates instead of the object’s, and use the Offset parameters in the Link behavior to obtain the position you want. However, if that group is subsequently added to another group, the linked object might not move as expected.

Note: When a link behavior is added, it’s not enabled by default. To activate the behavior, click the activation checkbox beside the behavior name in the Behaviors Inspector.

Adjust this behavior using the controls in the Behaviors Inspector: