Mask & Layer Splitter
All-in-one mask and layer management for After Effects. Separate, rename, precomp, and offset. All from one panel.
Get on aescriptsLess clicking. More creating.
Mask & Layer Splitter handles the repetitive tasks that slow you down in After Effects: separating masks, renaming layers, cropping precomps, and staggering timings.
Each function gets its own dedicated button. No hidden menus, no setup. Click once and it's done.
Everything you'd do by hand, in one click.
Separator
Split masks into individual layers, with optional reference layer support.
Rename
Batch rename with Separate or Sequence modes and a live preview.
Precomp & Crop
Precomp selected layers and auto-crop to content bounds.
Offset Layers
Stagger layer start times in ascending, descending, or random order.
KBar Support
All functions available as KBar buttons with included icons and .kbar file.
Split every mask into its own layer.
Select a layer and let the script generate new layers, one per mask, automatically.
Hold Shift to duplicate the original as a locked reference before splitting. Shift + Ctrl/Cmd removes the reference afterward.
Batch rename in seconds.
Rename multiple layers at once using Separate (character-by-character) or Sequence (shared base name with zero-padded numbers).
A live preview shows the result before you commit, so there are no surprises.
Precomp and crop to content bounds.
Automatically wrap selected layers into a pre-composition and trim it to the exact content bounds.
Keeps your project clean and compositions tight without any manual resizing.
Stagger layers without math.
Offset the start times of selected layers in ascending, descending, or random order.
Create staggered animations in one click. No manual keyframe nudging required.
Fits right into your KBar.
All core functions are exposed as KBar buttons so you can trigger them from your existing toolbar.
Includes a ready-made .kbar file and icon set. Just import and go.
See it in action.
Changelog
- New Separate/Sequence option for batch rename
- Support for After Effects CC 2025
- Updated licensing framework to 4.4.1
- Bug fixes
- Updated licensing framework
- Fixed multiple small bugs
- KBar support
- KBar icons and .kbar file included
- Help guide updated
- Minor code fixes
- Initial release
Everything you need to get started.
Easy Installation (Recommended)
The easiest way is the aescripts + aeplugins manager app.
- Download and install the manager from aescripts.com
- Log in with your aescripts account
- Find Mask & Layer Splitter in your product list and click Install
- Open After Effects and go to Window > Extensions > Mask & Layer Splitter
Manual Installation
Mask & Layer Splitter is a ScriptUI Panel. Copy the .jsx file to the ScriptUI Panels folder:
Mac: /Applications/Adobe After Effects [version]/Scripts/ScriptUI Panels/Windows: C:\Program Files\Adobe\Adobe After Effects [version]\Support Files\Scripts\ScriptUI Panels\Restart After Effects, then open it from Window > Mask & Layer Splitter.
When you first open the panel, a license prompt will appear.
- Find your license key in your aescripts purchase confirmation email
- Paste the key into the activation field and confirm
- An internet connection is required during activation
Free Trial
Download the trial version directly from the product page on aescripts.com. The trial is fully functional for a limited number of uses.
Retrieve your license key
Log in to aescripts.com, go to My Downloads, and find the key next to the product. You can also use the aescripts manager app to re-activate.
Separator splits every mask on a selected layer into its own individual layer.
- Select the layer that has multiple masks
- Click the Separator button in the panel
- New layers are created, one per mask, in the same comp
Modifier Keys
- Shift: Duplicates the original layer, locks it, and marks it as a reference before splitting
- Shift + Ctrl (Cmd on Mac): Same as above, but removes the reference layer after splitting is complete
Rename lets you batch rename selected layers using two modes.
- Select the layers you want to rename in the timeline
- Choose a rename mode in the panel
- Enter a base name or suffix in the text field
- Check the live preview to verify the result
- Click Rename to apply
Separate Mode
Each character of the base name is assigned to a different layer. Useful when you have layers that represent individual letters or shapes.
Sequence Mode
All layers share one base name and receive a zero-padded number suffix (e.g. Shape 01, Shape 02, Shape 03). Good for numbered sequences.
Precomp & Crop wraps selected layers into a new pre-composition and automatically trims it to the content bounds.
- Select one or more layers in the timeline
- Click the Precomp & Crop button
- A new pre-comp is created and the comp size is cropped to fit the content exactly
This keeps your project organized and avoids unnecessary whitespace in nested compositions.
Offset Layers staggers the in-point of selected layers to create timed or randomized animations.
- Select the layers you want to stagger
- Set an offset amount in the field (in frames or seconds)
- Choose the order: Ascending, Descending, or Random
- Click Apply
Offset Orders
- Ascending: Each layer starts later than the previous one
- Descending: Each layer starts earlier than the previous one
- Random: Start times are shuffled randomly across the selection
Mask & Layer Splitter includes a ready-made .kbar file and icon set so you can add its functions directly to your KBar toolbar.
Setup
- Download and install KBar from aescripts.com if you have not already
- Open KBar settings and click Import
- Select the .kbar file included in the Mask & Layer Splitter download
- All five functions (Separator, Rename, Precomp, Offset, Open Panel) will appear as buttons
You can rearrange, resize, and re-icon any of the buttons after importing.
Which After Effects versions are supported?
After Effects CC 2020 through CC 2025.
Does it work on Mac and Windows?
Yes, both platforms are fully supported.
The script does not appear in the Window menu.
- Make sure the .jsx file is in the ScriptUI Panels folder, not the Scripts folder
- Restart After Effects after copying the file
- Check that "Allow Scripts to Write Files" is enabled in After Effects Preferences > Scripting & Expressions
License activation fails.
Check your internet connection and try again. Make sure you are pasting the key without extra spaces. If the issue persists, update to version 1.2.1 which includes framework fixes for activation.
Can I use it on multiple computers?
A Single User License covers one machine at a time. Deactivate on your old machine first, then activate on the new one. For teams, use a Floating Server License.
Where do I get support?
Open a support ticket at aescripts.com/contact and you will be connected directly with the author.
Ready to speed up your workflow?
One-time purchase. Works on Mac and Windows with After Effects 2020 and newer.
Get on aescripts



