After Effects Highlight Text



Text layers have gained a massive upgrade in After Effects 17.0. You can now use expressions to control text styling as well as the text itself. This feature enables you to keep font, size, and styling in sync across multiple text layers in After Effects and Motion Graphics templates.

Bear in mind that this is a new feature and will only work in After Effects 17.0 or above. MoGRTS containing text-style expressions will only be compatible with Premiere Pro 14.0 and higher.

In this blog post, we’ll cover three ways to use text forwarding expressions:

Hello, I’m trying to highlight text momentarily as it is revealed. I have my title, and i’m revealing it from left to right by a mask, but the second a letter first appears on screen, i’d like to have it highlighted, or a glow, or some effect. In this After Effects Tutorial i show you how to create this really cool and easy Highlighted text wipe - After Effects Tutorial Quick Tip. Your watching Highlight Text Wipe - After Effects Tutorial Quick Tip a Flat Pack FX Quick Tip tutorial, please like and subscribe.

  • Basically, I can't highlight or change any of my text layers. I can't even create a new text layer. I can select the layer in the timeline or in the comp window, but when I double-click the layer, it highlights for a split second and then the bounding box re-appears. I'm not sure if.
  • Text animation puts your words into action, and Adobe After Effects has all you need to make great use of kinetic typography. Animate logos, add motion to 3D text, and get efficient with pro presets and templates.
  • Select text from cursor to beginning / end of text Frame. Select text from cursor to mouse Click point. Move one character left/right or one line up/down. Ctrl + Arrow Keys. Move one word left/right or one paragraph up/down. Double-click, and click up to 5 times. Select word, line, paragraph, or entire text Frame.
  1. Forward Source Text only
  2. Forward style only
  3. Forward Source Text and style
After Effects Highlight Text

JavaScript Engine

To start, double-check that the JavaScript Expressions Engine is enabled. Go to File -> Project Settings… and click on the Expressions tab. Change the Expressions Engine from Legacy ExtendScript to JavaScript.

Forward Source Text only

This method has been available in After Effects for a long time, and many enterprising creators use it in their MoGRTS.

Create two text layers. 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. Voila! The second text layer now copies the Source Text of the first text layer.

You can copy and paste the expression from here:

thisComp.layer(“Parent”).text.sourceText

Forward text style only

We’ll continue where we left off in the previous example. In the Expressions Editor, simply add “.style” to the end of the expression. The second text layer now copies the text properties (style) of the first text layer. However, the Source Text remains separate.

You can copy and paste the expression from here:

thisComp.layer(“Parent”).text.sourceText.style

Forward Source Text & style

This one’s going to be more challenging, and we’ll have to combine our previous examples to accomplish it.

In the Expressions Editor, we’ll create two variables with custom names. Coding best practice is to give meaningful, self-explanatory names when creating custom variables. 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.

var parentText = thisComp.layer(“Parent”).text.sourceText;

var parentStyle = thisComp.layer(“Parent”).text.sourceText.style;

Now we’re going to copy the text style properties from the “Parent” text layer via expressions. Hit Enter in the Expressions Editor to add a third line, and type in:

parentStyle.setText( parentText )

Once set up, the second text layer will copy all text style properties and the Source Text from the first text layer. Here is another way to write the expression and achieve the same result:

style = thisComp.layer(“Parent”).text.sourceText.getStyleAt(0); style.setText(thisComp.layer(“Parent”).text.sourceText);

By using “.getStyleAt()”, you are getting the style of a particular character index at a particular time. In this case, “.getStyleAt(0)” is getting the style of the character “P” because its character index in the word “Parent” is 0. Using “.style” is the same as using “.getStyleAt(0).” These techniques just scratch the surface of what is possible with text expressions.

More information on expressions for text properties can be found at the HelpX page.

Dropdown Menu Expression Controls

MoGRT creators have long used Sliders for toggling between multiple designs. When designing several options in a MoGRT, After Effects 17.0 has a new feature to familiarize yourself with.

Checkboxes are appropriate for On/Off states, such as flipping on or off the stroke of a text layer.

Sliders are appropriate for ranges of minimum and maximum values, such as the padding of a text box.

The new Dropdown Menu Control is appropriate for selection from a limited number of options.

How to set up a Dropdown Menu

In this example, we’ll learn how to reposition a layer to four different positions on the screen, like in the GIF above.

Create a New Composition with dimensions 1920x1080px. Create a new Null Object and apply the Dropdown Menu Control effect to it (Effect -> Expression Controls -> Dropdown Menu Control).

In the Effect Controls panel, select the Dropdown Menu Control and click on Edit… Click the “+” button in the top-right of the dialog box to add Item 4. Click on Item 1 and rename it to “Bottom-Left.” Rename all other items to reflect their position. Always rename the Dropdown Menu Control items to something that reflects the contents best.

Create a new text layer. Hit “p” on your keyboard for Position, and alt-click the stop-watch to the right of the word “position” to add an expression. To move the layer’s Position based on our Dropdown Menu, we’re going to write a switch statement:

In the Expression Editor, copy the following expression snippet:

menu = thisComp.layer(“Null 1”).effect(“Dropdown Menu Control”)(“Menu”).value;

switch (menu)

{

case 1: [192,972];

break;

case 2: [1344,972];

break;

case 3: [192,162];

break;

default: [1344,162]

};

The item names of the Dropdown Menu are not read by the expression. Instead, it is reading the index, meaning the hierarchal position of the menu item in the list (1, 2, 3, etc.). If no case (number) is matched, then the default code is executed. For our example, case 1 is “Bottom-Left,” case 2 is “Bottom-Right,” case 3 is “Top-Left,” and default is “Top-Right.” The values inside the square brackets are the positions that the layer will move to.

In the Effect Controls panel select the Dropdown Menu Control. Right-click the Menu property (A) and select Add Property to Essential Graphics.

In the Essential Graphics panel, hit Export Motion Graphics Template > OK. Fire up Premiere 2020, import your newly created MoGRT, and see the Dropdown Menu in action!

Text Expressions After Effects

For more information on drop-downs,see the HelpX page.

Cover image via

In this video tutorial, learn how to create a customized animated stroke effect in After Effects for your next video production project.

When it comes to working with text, the stroke can be a powerful design element. Adobe After Effects has a number of tools that allow you to quickly add and modify a text stroke. These tools, however, are often lacking something. The Character panel gives you color, width, and positioning options, but not much else. Animating attributes of a stroke can be a bit more complex, so let’s take a closer look at a unique method that will bring a text stroke to life in just a few simple steps.

Step 1: Create the Text Layer

For the first step, I will create some text. I can use the Type tool and start typing, or I can highlight the Timeline panel and select Layer > New > Text. An After Effects text layer is a simple vector file, meaning the layer will continuously rasterize as I change the scale or font size. This will preserve the sharp edges of my text no matter how many adjustments I make.

Text

After Effects Highlight Text Free

Step 2: Convert to Shapes

Next, I will convert my text to shapes. While After Effects has a lot of tools for text, shape layers provide a bit more versatility. By converting my text to shape layers, I’ll open up a number of animation features that weren’t previously available. To create my shapes, I’ll grab the text layer and select Layer > Create Shapes from Text. You can tell the difference between Shapes and Text layers via the symbol next to the layer’s name in the Timeline panel. Shapes have a star, while text layers have a T.

Step 3: Add the Stroke

Highlight Text For Myspace

My new shape layer contains every letter as an individual shape element, each with its own path, stroke, fill, and transform properties. While all of the letters have their own stroke attribute, I want to control all of them at the same time. To do this, I need to add a new stroke attribute. I’ll go to the Add button and select Stroke. This adds a new stroke that applies to the entire word. Since I’m just creating an isolated animated stroke, I’ll turn off the fill property for each letter.

Step 4: Animate

It’s time to bring the stroke to life. The new stroke attribute contains a number of keyframable properties, including color, opacity, width, and a handful of others. However, I just want to animate the path of the stroke in and out. To do this, I’ll add a Trim Paths attribute via the Add button in the Timeline panel. This is a powerful tool that provides me with a keyframable range selector. Once applied, I can animate the Start, End, and Offset properties of the stroke path for some cool results.

After Effects Text Fade In

Step 5: Customize Design

After Effects Highlight Text Online

In addition to fine-tuning the animation, I can adjust a plethora of stroke attributes to customize the design, including color and width. Changing the stroke cap and joints can give me a smoother and curvier look. I can even change the stroke to dashes and keyframe the offset property of the dashes to bring them to life. Be careful here, though, as the multitude of choices can lead to way too much fun in After Effects . . .

After Effects Animation Presets

Looking for more After Effects Tutorials? Check out these articles.