Skip to main content
April 2, 2026Jerron Smith/4 min read

Animating Diagonal Hatch Lines in After Effects with Shape Layer Repeater Effects

Master diagonal hatch line animations with repeater effects

Prerequisites

This tutorial builds on a previous lesson about animated line bundles. Ensure you have the line bundle with hidden diagonal hatch lines before proceeding.

Initial Setup Process

1

Access Hidden Elements

Open your animated lines bundle and turn on the hatched lines layers that were previously hidden

2

Zoom for Precision

Use the Z key and click-drag for scrubby zoom to examine the diagonal line pattern closely

3

Convert to Shape Layer

Right-click on the hatched lines and select 'Create Shapes and Vector Layer' to enable shape layer effects

Scrubby Zoom Feature

The scrubby zoom behavior is available in current versions of After Effects. If you're using an older version, you'll be limited to specific magnifications and area-based zooming. Consider upgrading for this improved workflow feature.

Layer Management Techniques

Group Cleanup

Delete unnecessary groups from the converted shape layer, keeping only the first group that contains your base diagonal line pattern.

Reference Layer Setup

Convert original hatched lines to a guide layer with reduced opacity for alignment reference without affecting final output.

Repeater Effect Configuration

1

Add Repeater Effect

In the layer panel, click Add and select Repeater from the shape layer effects menu

2

Adjust Position Values

Open Transform Repeater options and modify position values, using Command/Control while scrubbing for fine control

3

Set Copy Count

Increase the number of copies to create the desired pattern density across your design area

Timeline Panel Requirement

Repeater effect properties can only be adjusted in the Timeline panel, not in the Properties panel. Make sure to work in the Timeline for full control over repeater settings.

Shape Layer Repeater vs Manual Duplication

Pros
Single source pattern updates all copies automatically
Animatable properties for dynamic effects
Opacity gradients across repeated elements
Efficient file size and processing
Cons
Limited to Timeline panel adjustments
Requires conversion from vector artwork
Less individual control over each element

Advanced Animation Techniques

Copy Count Animation

Animate the number of copies from 1 to 8 to create lines that appear progressively across the design.

Opacity Gradients

Use end opacity settings to create fade effects, making distant copies lighter for visual depth and hierarchy.

Ping Pong Effects

Create back-and-forth animations by keyframing the copy count to grow and shrink in a looping pattern.

Quality Control Checklist

0/4

This lesson is a preview from our After Effects Certification Course Online (includes software & exam). Enroll in a course for detailed lessons, live instructor support, and project-based training.

In this lesson, we'll transform those previously hidden diagonal lines from our line bundle into dynamic animated elements. Building on our earlier work with the animated lines bundle, we'll unlock the full potential of After Effects' shape layer animation tools to create professional motion graphics.

Let's begin by accessing our animated lines bundle—simply double-click to open it. You'll notice the hatched lines labeled "one" and "two" that we previously disabled. Reactivate both layers now, then deselect to examine the underlying structure more clearly.

These hatched elements are essentially repeated geometric shapes arranged in sequence. To examine them closely, press and hold Z on your keyboard, then click and drag to zoom into the target area. This scrubby zoom functionality represents one of After Effects' most valuable recent interface improvements—if you're working with current versions of the software, you'll have access to this intuitive zoom behavior.

Users on legacy versions will need to use the traditional zoom tool workflow: click and drag to define a zoom rectangle around your desired area. Keep in mind that older versions also restrict you to predetermined magnification levels, which significantly limits precision work. If you haven't upgraded recently, this enhanced zoom functionality alone justifies the update—it dramatically improves workflow efficiency for detailed animation work.

Now we'll convert our static elements into animatable shape layers. We'll focus on creating one master element, then duplicate it strategically rather than rebuilding each component from scratch—this approach ensures consistency while saving valuable production time.

Right-click on the target element and select "Create Shapes from Vector Layer." For single-button mouse users (particularly common on older Mac setups), hold Control while clicking to access this context menu. The system will automatically name this "Hatched Lines Outline"—rename it simply to "Hatched Lines" for cleaner project organization.


Let's examine the layer structure in the Properties panel. You'll see multiple groups numbered one through five, with Group 1 representing our foundational element. This hierarchy reflects how the original artwork was constructed in Illustrator—radiating outward from the first shape. We'll streamline this by deleting the additional groups: select them in the Properties panel and press Delete or Backspace.

The key to professional line animation lies in After Effects' Repeater effect—a powerful tool exclusive to shape layers that enables sophisticated duplication and motion control. Access this through your layer panel by expanding the layer properties with the disclosure arrow, then navigate to the "Add" menu to locate the Repeater effect.

By default, the Repeater will offset copies to the right by a predetermined amount. Before fine-tuning this behavior, let's establish our reference framework: reactivate "Hatched Lines 1" and reduce its opacity to create a visual guide. This reference layer will help us determine proper spacing and alignment for our animated elements.

Convert this reference layer to a Guide Layer by right-clicking and selecting the guide option—this ensures it won't appear in your final composition when used elsewhere in your project, while remaining visible during editing. Lock this layer as well to prevent accidental repositioning during your animation work.

Fine-tuning the Repeater requires working directly in the Timeline panel rather than the Properties panel—this is a workflow limitation worth noting. Expand the Repeater options to locate "Transform: Repeater," then focus on the Position property. Instead of the default 100-pixel offset, we need more precise control.


Hover over the position value and drag to scrub the setting dynamically. Hold Command (Mac) or Control (Windows) while scrubbing to enable fine-tuning mode—this dramatically slows the adjustment rate for precision work. Through careful adjustment, you'll likely find a value around negative 28 pixels works well for most applications.

Set your Copies value to 8 to create the full sequence of repeated elements. You may notice slight alignment discrepancies with your reference layer—use the Command/Control-drag technique to fine-tune the final positioning until the elements align properly. Perfect mathematical precision isn't always necessary since viewers won't see the reference layer, but maintaining visual consistency is crucial for professional results.

The Repeater effect opens up sophisticated animation possibilities beyond simple duplication. You can keyframe the number of copies for growing/shrinking effects, or animate opacity variations across the repeated elements. For example, setting an end opacity creates a fade effect where later copies appear progressively lighter—try reducing the end opacity to 20% for a subtle gradient effect.

With your reference layer disabled, you can now see the pure animated result. The next phase involves animating the Copies parameter from 1 to 8, creating a dynamic extension effect. Rather than random behavior, we want controlled growth that can ping-pong back and forth, creating engaging, rhythmic motion that enhances your overall composition.

Key Takeaways

1Shape layer repeater effects provide dynamic control over repeated patterns that manual duplication cannot match
2Converting Illustrator artwork to After Effects shape layers unlocks powerful animation capabilities exclusive to shape layers
3The scrubby zoom feature in current After Effects versions significantly improves precision work compared to older area-based zooming
4Guide layers with reduced opacity serve as excellent alignment references without affecting final composition output
5Repeater effect properties must be adjusted in the Timeline panel as they are not accessible through the Properties panel
6Command/Control key modifies scrubbing sensitivity for precise numerical value adjustments in transform properties
7Animating copy count from 1 to target number creates progressive reveal effects ideal for dynamic presentations
8End opacity settings in repeater effects enable automatic gradient fades across repeated elements for visual hierarchy

RELATED ARTICLES