


Once set up, the second text layer will copy all text style properties and the Source Text from the first text layer. Hit Enter in the Expressions Editor to add a third line, and type in: tText( parentText ) Now we’re going to copy the text style properties from the “Parent” text layer via expressions. var parentText = thisComp.layer(“Parent”).text.sourceText var parentStyle = thisComp.layer(“Parent”). So we’ll create one variable named “parentText” to get the Source Text, and one variable named “parentStyle” to get the style of the Source Text. Coding best practice is to give meaningful, self-explanatory names when creating custom variables. In the Expressions Editor, we’ll create two variables with custom names. This one’s going to be more challenging, and we’ll have to combine our previous examples to accomplish it. You can copy and paste the expression from here: thisComp.layer(“Parent”). Forward Source Text & style However, the Source Text remains separate. The second text layer now copies the text properties (style) of the first text layer. In the Expressions Editor, simply add “.style” to the end of the expression. We’ll continue where we left off in the previous example. You can copy and paste the expression from here: thisComp.layer(“Parent”).text.sourceText Forward text style only Voila! The second text layer now copies the Source Text of the first text layer. For our example, we’ll name our layers “Parent” and “Child.” Pickwhip the Source Text of the second layer and drag it to the Source Text of the first layer. This method has been available in After Effects for a long time, and many enterprising creators use it in their MoGRTS.Ĭreate two text layers.

Change the Expressions Engine from Legacy ExtendScript to JavaScript. Go to File -> Project Settings… and click on the Expressions tab. To start, double-check that the JavaScript Expressions Engine is enabled. In this blog post, we’ll cover three ways to use text forwarding expressions: MoGRTS containing text-style expressions will only be compatible with Premiere Pro 14.0 and higher. This feature enables you to keep font, size, and styling in sync across multiple text layers in After Effects and Motion Graphics templates.īear in mind that this is a new feature and will only work in After Effects 17.0 or above. You can now use expressions to control text styling as well as the text itself. Text layers have gained a massive upgrade in After Effects 17.0. Image source: Adobe Stock / Wavebreak Media. After Effects 2020: Express Yourself (and Your Text)
