Skip to main content

Auto Scale

With this expression you can move layers away from the camera (or towards it) while simultaneously scaling them, so that from the perspective of the camera they look unchanged.

This is useful, for example, when you have an image (like a matte painting) that consists of several layers representing different levels of depth - like foreground, middle ground and background elements.

With this expression you can easily distribute layers in 3d space to give your scene depth, as well as create parallax effects.

  • Reference Frame

    The frame at which the layers should look as if their position has not been shifted at all.

  • Offset

    How much the layer is moved away from the camera (use negative values to move towards the camera)

  • Offset Multiplier

    For a value of 20, each layer moves 20 times as far as determined by "Offset"; for 0 all layers are remain at their original position. If you give different layers a different "Offset", you can still animate them simultaneously by linking the "Offset Multiplier" of all of them to the same slider control.

  • Camera
    Use Camera

    Determines whether the iExpression should use the active camera, or the camera specified in the next parameter

    Custom Cam Name

    Name of the camera to be used when 'Use Camera' is set to 'custom'.




Download at aescripts.com