View all expressions
Interpolation

Copy Text and Style from Another Layer

Duplicates the text content and style from a main text layer. Automatically updates whenever the source changes.

Contributed by:


const mainTextLayer = thisComp.layer("text1");
const mainTextStyle = mainTextLayer.text.sourceText.getStyleAt(0);
mainTextStyle.setText(mainTextLayer.text.sourceText.value);

Copy Text and Style from Another Layer

Practical use case

Automatically mirror both text and styling from a main layer - perfect for subtitles, translated text, or synced design systems.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image