Multiple Comp resizing and scaling

Hello everyone, I’m new here and starting to explore this extension. I need an automation that can do the following across multiple compositions:

  1. Change the resolution of selected comps to a new width and height.

  2. Resize the layers inside those comps to match the new comp width or height.

For the scaling part, ideally it would link only unparented layers to a temporary null so that existing parent-child relationships and animations aren’t affected.

I’m not sure if all these options are possible, but this would save a lot of manual work when updating multiple comps.

Hey @Maza welcome! :waving_hand:

This automation does exactly what you asked—safe and fast across multiple comps:

  • Resizes selected comps to the width/height you enter.

  • Scales only un-parented layers via a temporary Null (so parent/child setups and animations stay intact).

  • Cleans up the helper Null when it’s done.

How to use

  1. In the Project panel, select the comps.

  2. Run the automation → enter Width and Height (px).

  3. That’s it—X and Y scale independently if the aspect ratio changes.

Helpful notes

  • The automation includes plain-English comments for each step, so it’s easy to follow what’s happening.

  • If you want to skip certain layer types (cameras/lights/guide) or only scale width or height, I/you can tweak it.

Download:

modify comp resolution.json (78.5 KB)

If anything’s unclear or you want to adjust behavior, don’t hesitate to ask—happy to help!

Hi @alonshemer this is looking great. Just detected one problem and wasn’t able to adjust. The layers inside the comp are stretched to the new comp size, instead of scaling down/up proportionally.

Is this an easy fix?

@Maza thanks for the careful test and great catch!

You’re right: the current automation scales X and Y separately to exactly match the new comp size. That’s perfect when the aspect ratio stays the same (e.g., 1920×1080 → 3840×2160), but it will stretch if the aspect ratio changes.

Easy fix: switch to uniform scaling (same % for X and Y). I can set it to any of these:

  • Fit (no crop): scale until everything fits inside; may leave empty bars (letterbox/pillarbox).

  • Fill (may crop): scale until the frame is full; edges may get cropped.

  • Width only / Height only: keep one dimension exact; the other follows.

Tell me which mode you prefer and I’ll share an updated JSON (it just makes the Null use one uniform scale).
And if you have any other questions or tweaks in mind, don’t hesitate to ask.

Just out of curiosity can we make those an option? Like i can define which mode i need in the moment?

If not, lets go with “Width only” and will just duplicate the automation for each mode.

Thanks alon

@Maza Yes, we can make the mode selectable when you run the automation.

How to set it up:

  1. Add a Text variable line, name it “Scale Mode”.

  2. Check the User Prompt checkbox, then the Options checkbox.

  3. Put this in the options box: “Fit,Fill,Width Only,Height Only".
    → When you run it, you’ll get a radio buttons to pick the mode.

What the automation does with your choice:

  • Fit (no crop): uses the smaller scale percent for both X & Y.

  • Fill (may crop): uses the larger scale percent for both X & Y.

  • Width Only: sets both X & Y from the width change percent.

  • Height Only: sets both X & Y from the height change percent.

I’ll attach the updated version with the dropdown so you can just use it:

modify comp resolution v2.json (148.0 KB)

If anything’s unclear or you want to tweak the labels/behavior, don’t hesitate to ask!

yup! this is perfect! Thanks Alon!