
How to highlight the first word in your text layer automatically?
- Create a text layer.
- Press Animate – Fill Color – RGB.
- Expand Advanced property and change Units to Index.
- 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;
