Skip to content

EditionsPhotoArt

Curated Content On Photography

  • Home
  • Privacy Policy

How to Animate Text Reveal Rectangles in After Effects, Part 1

Final product imageFinal product imageFinal product image
What You’ll Be Creating

In this tutorial, I’m going to show you how to build a great-looking text animation treatment using Adobe After Effects. The animation is very stylish and a great way to improve the look of your project. 

example projectexample projectexample project

What we have in our example are two bars that slide across the screen that at some point start to reveal the text. So the two bars move across from the left to right. And then the text moves across from the right to left, which creates an interesting contrast to the reveal animation.  

animationanimationanimation

I’m going to show you how to build this in a way that you can modify using this ready-made comp example:

  • 1980 x 1080
  • 10 seconds duration
new compnew compnew comp

I have a background solid in here that is locked, so that I can’t mess with it.

black solid lockedblack solid lockedblack solid locked

So the first thing I want to do is lay out my text using the Text Tool. Just click into the preview area and begin typing. I’m going to make sure that is right aligned.

text tooltext tooltext tool

I will pull out a guide to help me align the text to where I want it to be. This will help when you want to include another line of text underneath.

guideguideguide

So let’s duplicate the text and type in something new. Then place it underneath the original text line.

bottom textbottom textbottom text

Change the font of the text at the top to something lighter, like Regular or Light, so that it contrasts with the text underneath.

light textlight textlight text

Then the next thing that I want to do is build out those rectangles to make them nice and long. And I want to find the spot that’s right in between these two layers. You can use another guide to help you do this.

another guideanother guideanother guide

Deselect your layers, grab the Rectangle Tool, and draw a rectangle. Make sure that it is only set to fill and that there is no stroke.

rectangle toolrectangle toolrectangle tool

If you need to adjust the size of the rectangle, just jump into the shape properties and make your adjustments from there to get it to where you need it to be. As long as I have this guide here, this will more or less snap the shape in place for me.

Once you’re happy with the shape, slide it over to the right and then create another guide on the right to help you with the spacing.

another guideanother guideanother guide

Name this Rec_1, duplicate it, and place it below the first shape.

duplicate rectangleduplicate rectangleduplicate rectangle

Next we need to design a matte so that we have mattes on the left and right of the screen. The mattes will block the text and cut off my little rectangles, making them appear out of thin air.

To do that, I’m going to use a Shape Layer. Create one that is large enough to cover the left side of the screen.

shape layershape layershape layer

Then duplicate it and slide it to the right side of the screen. Align it so that the long rectangle shapes are just peeking out.

shape on the right sideshape on the right sideshape on the right side

Grab the Anchor Point Tool and then grab the anchor point of this shape (not the layer) and move it to the outer edge of the shape.

move anchor point to the edgemove anchor point to the edgemove anchor point to the edge

Do the same thing for the other shape as well.

move anchor pointmove anchor pointmove anchor point

Open up the properties and delete the strokes from rectangle 1 and rectangle 2 as we don’t need them.

delete strokedelete strokedelete stroke

Go to the Effects and Presets panel, type in “Slider Control”, and add it to the shape layer.

slider controlslider controlslider control

Rename it “Right Side”, and then duplicate it and rename the second one “Left Side”. I’m going to set both of these values to 100.

rename the slidersrename the slidersrename the sliders

Go back to the shape properties and select the scale. This is the scale of the rectangles, not the scale of the entire layer.

Now we’ll use an expression by holding Alt on the keyboard and clicking on the stopwatch icon. Then type in x =  and then use the pick whip and connect it to the right slider.

pick whip the expressionpick whip the expressionpick whip the expression

Then, at the end of the expression, add a ; and then hit Enter on the keyboard to add another line. Type in y =  and then use the pick whip and connect it to the right scale value (which will lock it at 100%).

pick whip the ypick whip the ypick whip the y

Then add a ; at the end again and hit Enter to add another line. And then add (x,y). This expression basically says that I want to set the x parameter to whatever the slider control is, and that way I’ll be able to modify it without having to jump down into the layer properties and go right to the scale every time.

expressionexpressionexpression

Now copy the expression (Control-C) and then go to the other rectangle. Open up the expression by Alt-clicking on the scale stopwatch icon, and then paste it in.

paste expressionpaste expressionpaste expression

Now we need to make a few modifications to the expression. Replace “Right Side” with “Left Side”. And then change “Rectangle 2” to “Rectangle 1”. And this will allow me to modify all of my mattes in this composition with this one matte control layer. You can change the name of the layer to “Matte Control” to reflect this.

edit the expressionedit the expressionedit the expression

Change the color of the layer to fuchsia so that we can easily identify it, and then duplicate it and call it “Rec Matte_1”.

duplicate layerduplicate layerduplicate layer

Delete the slider controls on the Rec Matte_1 layer.

delete slider controlsdelete slider controlsdelete slider controls

Press U twice on the keyboard to open up the properties and delete both expressions.

delete expressiondelete expressiondelete expression

Select the scale properties for Rectangle 2 and pick whip it to the scale properties of the same rectangle (Rectangle 2) that is within the Matte Control layer.

pick whip to scalepick whip to scalepick whip to scale

Do the same thing with Rectangle 1. Select the scale properties for Rectangle 1 and pick whip it to the scale properties of the same rectangle (Rectangle 1) that is within the Matte Control layer.

pick whip to scalepick whip to scalepick whip to scale

Hide the Matte Control layer by clicking on the eye icon.

hide layerhide layerhide layer

Select the Rectangle 1 shape layer here and make that Alpha Inverted.

alpha inverted mattealpha inverted mattealpha inverted matte

Now, when you select the Matte Control layer and adjust the Right Side slider, you can see how you can animate the top line.

animate top lineanimate top lineanimate top line

Duplicate Rec Matte 2 and place it below Rec_1 and above Rec_2. Set it to Alpha Inverted as well.

set to alpha invertedset to alpha invertedset to alpha inverted

Duplicate the Rec Matte layer one more time, place it above the text layers, and rename it Text Matte_1.

text matte 1text matte 1text matte 1

Change the top text line layer to Alpha Inverted.

top texttop texttop text

Duplicate the Text Matte_1 layer and place the Text Matte_2 layer above the bottom text line.

move above textmove above textmove above text

Change the bottom text line layer to Alpha Inverted.

bottom textbottom textbottom text

Select all the matte layers and use the pick whip to link them all to the Matte Control layer.

pick whip to matte controlpick whip to matte controlpick whip to matte control

Lock the layers by clicking on the lock icon square, which will prevent you from moving anything around in an undesirable way.

lock layerslock layerslock layers

Congratulations

animationanimationanimation

Congratulations! You’ve completed Part 1 of this tutorial. In the next part of this tutorial, we’ll take you through the step-by-step process of how to animate the text reveal in Adobe After Effects.

You can also check out even more tutorials below and apply them to the project.

In the meantime, I hope you’ve found this tutorial useful. I’ll see you next time, on Envato Tuts+!

  • How to Animate the Layers of a Logo in After Effects
    Jonathan Lam
    23 Apr 2022

  • How to Prepare Logo Artwork to Animate in After Effects
    Jonathan Lam
    22 Apr 2022

  • How to Use Layer Controls in After Effects
    Jonathan Lam
    01 May 2022

  • How to Use After Effects: Layer Properties
    Jonathan Lam
    02 May 2022

  • How to Use Spatial Interpolation for Motion Animation in After Effects
    Jonathan Lam
    03 May 2022

  • How to Animate Handwritten Text in After Effects
    Jonathan Lam
    19 May 2022

Related Posts

  • How to Animate Handwritten Text in After Effects

    What You'll Be Creating* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} In this lesson, you'll…

  • 5 Top Text Animation Scripts for After Effects

    * { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} Text animation looks great, but it can…

  • 8 Top Typewriter Text Templates for After Effects

    * { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} If you love the retro look of…

Related posts:

  1. 100 Free Photoshop Actions (And How to Make Your Own)
  2. 35 Video Logo Animations (In After Effects) AE Templates for 2022 Inspiration
  3. 50 Free Intro, Title and Opener Templates for Premiere Pro
  4. How to Create a Cool Glitch Photo Effect in Adobe Photoshop
Published August 20, 2022By Editor
Categorized as Uncategorized Tagged above, alp, alpha, Ape, art, artwork, background, block, board, body, box, cat, color, composition, contrast, contrasts, cove, cover, create, cross, cut, design, down, eat, eating, eco, effect, expression, eye, font, fuchsia, go, ground, hand, happy, hat, hav, Holding, ice, ich, ight, it, j, jump, just, la, lac, large, lay, layers, lick, Light, little, Logo, long, look, looking, men, Motion, Move, moving, nice, NY, ol, old, one, open, original, pea, Po, project, raw, read, rectangle, reflect, rol, rope, rough, round, same, See, shape, shapes, show, Sign, snap, square, star, stylish, text, the end, tie, time, Tire, top, tutorial, two, type, ue, under, up, US, ut, view, way

Post navigation

Previous post

Review: OWC Envoy Pro Elektron is the Smallest and Fastest 1TB External Drive Money Can Buy

Next post

7 Tips for Stunning Black and White Portrait Photography

Recent Posts

  • The Moment Everything Bags are versatile daily carry and travel bags
  • Early Amazon Prime Day deals: Sony cameras and lenses
  • ADEX Sabah Ocean Partnership Summit 2023 Announces Ghost Net Removal Effort and International Mermaid Competition
  • Isotta Announces Housing for the Sony a7R Mark V
  • Facing the Holidays & Economic Uncertainty: How to Stay Ahead of Marketing for the Rest of the Year
    EditionsPhotoArt
    Proudly powered by WordPress.