decorative banner

Creating a bulge between two layers


    Use an expression to synchronize the Bulge Center parameter of the Bulge effect in one layer with the position of another layer. For example, move a magnifying glass over a layer and make the contents under the magnifying glass bulge as the glass (or the underlying layer) moves. This expression uses the "from_world" element, which makes the expression work correctly regardless of whether you move the magnifying glass layer or the underlying layer. You can rotate or scale the underlying layer and the expression stays intact.

    You can also use other effects, such as Ripple, with this expression.

To create a bulge between two layers:

  1. Start with two layers. Make one layer a magnifying glass or similar object with a hole in the middle and name it Magnifier.
  2. Create a motion path for the magnifying glass layer.
  3. Apply the Bulge effect to the other, underlying layer.
  4. Select the Bulge effect's Bulge Center property in the Timeline window and choose Animation > Add Expression.
  5. Select the default expression text and type the following:
  6. from_world(this_comp.layer("Magnifier").position)

  7. Click outside the expression to activate it.