View all expressions
Interpolation

Character Counter for Text Layers

Counts and returns the total number of characters in a text layer, dynamically updating as the text changes.

Contributed by:


myText = thisComp.layer("textLayer").text.sourceText;
myText.length

Character Counter for Text Layers

Practical use case

Ideal for animations or templates where character count impacts design decisions, like creating dynamic layouts or limiting text lengths.

Check out similar expressions

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

a mesh of elegant lines transparent image