Skip to main content

Auto-Crop

Intro

Crop Shapes based on their bounding box.

UI

Common Attributes +

Align X - Set the horizontal position along a Shape's bounding box that the crop starts between -1 (the left edge) and +1 (the right edge).

Align Y - Set the vertical position along a Shape's bounding box that the crop starts between -1 (the top edge) and +1 (the bottom edge).

Crop Amount - Increase/decrease the amount the Shape is cropped.

Example
  1. Create a Text Shape.
  2. In the Attribute Editor, click the + on the Deformers row and choose Auto-Crop from the list.
  3. Set Align X to -1.
  4. Set keyframes for Crop Amount W of:
    • Frame 0 = 0
    • Frame 25 = 100
  5. Press Play.

The text will be revealed from left to right over the 25 frames. Because the crop's width is automatically set based on the Text's width, it will automatically update if the Text's String changes.

Image Shader

When using Auto-Crop with Shapes connected to an Image Shader, the Image Shader's Scale Mode should be set to None to avoid any rescaling/tiling of the image.