How to Highlight the First Word Automatically in After Effects

How to highlight the first word in your text layer automatically?

  1. Create a text layer.
  2. Press Animate – Fill Color – RGB.
  3. Expand Advanced property and change Units to Index.
  4. Alt-click on the End property and paste an expression below.
var userText = text("ADBE Text Document");
userText.length > 0 ? userText.split(/s|W/)[0].length : 0;

-%
-%
00hrs : 00mins : 00sec
Sale sitewide
Shop now