All tools
Free tool / After Effects

GLUEChange the text. Everything else finds its place.

Connect layers in a chain that adapts to text. Add Auto Fit and backgrounds that follow the content.

Inside the panel

How it works.

GLUE builds horizontal layouts that respond to the size of their content. Its two tabs separate layer arrangement from fitting text within an area and creating an adaptive background.

GLUE tab with Crear grupo, seven positions, alignment, Gap, Quitar, Reconectar and Borrar.View full screenshot ↗

01 · Arrange layers in a chain

Click Crear grupo (Create group) and assign the center layer with + first. Select each side layer and click its slot: there are three on each side. Alinear (Align) places the layout’s left edge, center or right edge at the center layer’s position. Gap sets spacing in pixels; apply it with OK. Quitar (Remove) detaches the selected layer, Reconectar (Reconnect) rebuilds the group’s expressions and Borrar (Delete) deletes the group.

GLUE Auto Fit tab showing Limitar texto, Crear área, Vincular shape, Padding and Fondo adaptable.View full screenshot ↗

02 · Fit text and adapt its background

Select text and click Crear área (Create area) to generate a guide rectangle, or select text and an existing shape and use Vincular shape (Link shape). Adjust the rectangle and Padding to define the inner space: Auto Fit adapts the text’s scale. Quitar (Remove) removes the fit. Under Fondo adaptable (Adaptive background), Crear fondo (Create background) adds a box that follows the text; its Padding sets the surrounding margin and is applied with OK. Fill and Stroke remain editable.

Actual panel screenshots. Button labels are kept as they appear in the interface.

01 / What you can do

One tool, fewer repetitive tasks.

Adaptive chains

Arrange up to seven layers around a central layer. When text changes, the outer layers reposition automatically.

Auto Fit

Fit text inside a guide rectangle, with an adjustable inner margin.

Adaptive backgrounds

Create a background that follows the content’s width, height, scale and position, with editable Fill and Stroke.

Before you begin

  • After Effects 25 or 26.
  • Text, image or shape layers. Each group must be entirely 2D or entirely 3D.
  • Layers in a group must share the same parent, or have no parent.
02 / Installation

From the ZIP to your workspace.

Steps to install this version of GLUE.

  1. 01

    Download and unzip

    Download the ZIP on this page and find MARDINI_GLUE.jsx. No installer needs to be run.

  2. 02

    Close After Effects and copy the file

    Place MARDINI_GLUE.jsx in your installation’s Scripts/ScriptUI Panels folder. Copy the JSX file, not the entire ZIP.

  3. 03

    Reopen After Effects

    Find the script in the Window menu. Open the panel and dock it in your workspace.

macOS/Applications/Adobe After Effects [versión]/Scripts/ScriptUI Panels/
WindowsC:\Program Files\Adobe\Adobe After Effects [versión]\Support Files\Scripts\ScriptUI Panels\

Adjust the After Effects version and installation location for your computer. Copying files into the application may require administrator permissions.

03 / First use

Start here.

  1. Open a composition and click Crear grupo (Create group).
  2. Select the central layer and click +.
  3. Select the outer layers and assign them with the left and right arrows.
  4. Adjust Gap, click OK and change some text to see the group reposition itself.
  5. In Auto Fit, select text and click Crear área (Create area). Adjust the guide rectangle.