Counts the number of words in a text layer and displays the result.
Contributed by:
myText = thisComp.layer("Source").text.sourceText;myText.split(" ").length;
Useful for dynamically counting words in scripts, subtitles, or infographic animations.
Drive effects like blur, opacity or scale based on how close two layers are - perfect for reactive HUDs or infographics.
Useful for swarm, flock, or system animations where objects orient toward nearby elements - also great for connecting elements or auto-aligned labels.
Use as a labeling system for templates, versioning slates, or project organization placeholders.
Automatically mirror both text and styling from a main layer - perfect for subtitles, translated text, or synced design systems.
Great for automating layouts where the number of text rows affects the design, such as captions, paragraphs, or dynamic subtitles.