Repeat Text in After Effects – Complete Guide

Repeat Text in After Effects: Expressions, Tickers & Kinetic Type

Repeated text is everywhere in motion design β€” scrolling news tickers, looping background typography, credit rolls, and kinetic-type animations where one word multiplies across the screen. After Effects has no "repeat text" button, but between expressions, duplicated layers, and text animators you can build all of these in minutes once you know the three core techniques.

Quick Summary

To repeat text in After Effects, add an expression to the text layer's Source Text property that builds the repeated string with a loop (ExtendScript has no native repeat function, so define a small helper). For a scrolling ticker, animate the layer's X Position with a time-based expression and loop it with loopOut("cycle") on two keyframes β€” or duplicate the layer end-to-end for a seamless wrap. For kinetic typography, use the Animate menu's text animators (Opacity, Position, Scale) with a Range Selector. Avoid modern JavaScript syntax in expressions β€” After Effects uses ExtendScript, so stick to var and classic for loops.

Method 1: Build a Repeated String with a Source Text Expression

The cleanest way to get one long repeated string on a single layer. Select the text layer, press EE to reveal expressions, Alt+click (Option+click on Mac) the Source Text stopwatch, and paste:

function repeatStr(s, n) {
  var out = "";
  for (var i = 0; i < n; i++) out += s;
  return out;
}
repeatStr("SALE β€’ ", 14);

The layer now displays "SALE β€’ SALE β€’ SALE β€’ …" fourteen times. Change the word or the count in one place and the whole layer updates. This is the foundation for tickers: build the string long enough to cover the composition width plus one full text width, and the scroll in Method 3 will wrap cleanly.

Method 2: Duplicate Layers β€” the Manual Route

Sometimes the direct approach is fastest. Select the text layer and press Ctrl+D (Cmd+D on Mac) to duplicate it, then drag the copies into a row or grid with Shift+drag for straight alignment. Turn on snapping (View β†’ Snap to Guates is off by default; use the magnet icon in the Composition panel) so copies butt up exactly end-to-end.

Duplicated layers are independent β€” great when each copy needs its own animation timing, tedious when you later want to change the wording. For identical repeating text that might change, prefer the expression method and duplicate the layer only for layout.

Method 3: The Classic Ticker β€” Scrolling Repeated Text

A news-style ticker is repeated text plus horizontal motion. Build the repeated string with Method 1, then Alt+click the Position stopwatch and enter:

speed = 200; // pixels per second
x = thisComp.width - (time * speed);
[x, value[1]];

The text enters from the right edge and scrolls left at 200 px/s. It scrolls once and exits β€” to make it run forever, you need the seamless loop from Method 4. Tip: raise or lower speed to taste, and keep the layer's Y position locked by using value[1] so only X is driven by the expression.

Method 4: Seamless Loop β€” Make the Ticker Wrap Cleanly

The reliable seamless ticker uses two identical layers and loopOut:

  1. Duplicate your repeated-text layer so you have two identical copies.
  2. Place the second copy exactly one text-width to the right of the first, so they form one continuous strip. (Select the layer and check its width with sourceRectAtTime() if you want it pixel-perfect, or just snap them end-to-end.)
  3. On the first layer, keyframe Position X at the strip's start point, move forward e.g. 10 seconds, and keyframe it exactly one text-width to the left.
  4. Alt+click the Position stopwatch and type loopOut("cycle") β€” the two keyframes now repeat forever, and because the strip is two copies wide, the wrap point is invisible.
  5. Parent the second layer to the first (pick-whip the parent column) so both travel together.

The rule that makes or breaks this: the distance between the two keyframes must equal exactly one copy's width. Off by a few pixels and the loop visibly jumps every cycle.

Kinetic Typography: Animating the Repeated Text

For kinetic type β€” letters cascading, waving, or staggering in β€” use text animators instead of expressions:

  1. Select the text layer and open the Animate menu (next to the layer in the Timeline).
  2. Add Opacity, then keyframe the Animator's Start from 0% to 100% β€” letters fade in one by one: the classic typewriter reveal.
  3. Add Position and keyframe Offset for a wave that travels through the line.
  4. Add a Wiggly Selector (Animate β†’ Wiggly Selector) for organic random jitter across the repeated words.

Enable Per-character 3D (in the text layer's options) if you want letters to rotate in 3D space. Combine a Range Selector's Ease High / Ease Low with offset keyframes to get smooth, professional staggering without touching the graph editor.

Common Mistakes to Avoid

Frequently Asked Questions

How do I repeat text in After Effects?

Add an expression to the text layer's Source Text (Alt+click the stopwatch) that builds the repeated string with a for loop, or duplicate the layer with Ctrl+D for manual copies.

How do I make a scrolling text ticker in After Effects?

Build a long repeated string with a Source Text expression, then drive Position X with a time-based expression like x = thisComp.width - (time * 200). For a seamless infinite ticker, use two end-to-end copies and loopOut("cycle") on the position keyframes.

Why does my text expression show an error?

Most errors come from modern JavaScript syntax β€” After Effects expressions use ExtendScript, so avoid arrow functions, let/const, and template literals. A missing semicolon or an undefined variable name is the next most common cause; the expression editor highlights the failing line.

How do I animate each letter of repeated text separately?

Use the Animate menu on the text layer to add Opacity, Position, or Scale animators with a Range Selector, then keyframe Start/End or Offset. Turn on Per-character 3D for 3D letter rotations.

Can I use the repeated text in Premiere Pro?

Yes β€” build the animation in After Effects, then export it as a Motion Graphics template (.mogrt) via the Essential Graphics panel and use it directly in Premiere Pro timelines.

Does the ticker loop work with any font?

Yes, but measure in the font you ship: different fonts have different widths, so the seamless-loop keyframe distance must be measured with the final font at the final size, or the wrap will jump.

Related Guides & Tools

Need the repeated string itself? Generate it in seconds with our free Text Repeater, check it fits your layout with the Character Counter, or format it for messaging with the WhatsApp Repeater. More in the guides hub.