In this After Effects animation tutorial, we will look at how to animate a bounding box reveal in Adobe After Effects by using an example project.
Creative Title Example Animation
First, let’s take a look at how the reveal animation in After Effects is put together by looking at this example animation from Envato Elements. You can download it in the link below:
Let’s just take a look at what that box does. So we start from a small, skinny line which grows into a thin horizontal box.
And then it grows upwards while staying thin.
Then from that point it grows out wider.
How to Create the Animation in After Effects
All right, so let’s try to replicate that in Adobe After Effects. In this project, I’m going to go about 2.5 seconds forward in the timeline.
Open up the box shape options and set a keyframe for Size. This is going to be the final width of my box.
Then move back down in the timeline, somewhere around the 1 second mark (timing is not very important at this point), and make it skinny, like in the example video.
Move back a little bit further in the timeline and make the box wide. You also want to reduce the height a bit.
For this keyframe, I’m not going to make this value zero because if I make the y value zero, we lose part of the stroke on either end. If this gets animated, it will look strange and will have a “bump-out” effect. So let’s leave the value at 1.
Pull the keyframe to the very beginning of the timeline.
Open up the stroke options and create a keyframe for the Stroke Width.
Press U on the keyboard and focus on the keyframes in these properties because those are the ones that we’ve modified so far.
Move the keyframe for the stroke width that contains a value of 20 to the middle.
Then, at the beginning of the timeline, create a new Stroke Width keyframe with a value of 0.
Now, if you preview this animation so far, you’ll see that we have the foundation of what makes up the box reveal animation in After Effects. However, the animation doesn’t look great because these are all linear keyframes.
If we select all those keyframes and hit F9 on the keyboard, this will easy ease them so that the animation looks better.
However, we still need to adjust the curve. So with the keyframes still selected, click on the speed graph icon to enter the speed graph.
Now we can adjust the keyframes by pulling on the handles at the bottom so that it feels similar to the example video.
Once you are happy with the speed of the animation using the speed graph, we can also tighten up the animation by moving the middle keyframes closer to the beginning of the timeline.
The next thing we need to do is add the text. The text slides in from the left, but the top line is moving first, followed by the middle line, and then finally the third line slides in.
Now, text layers and After Effects have a whole bunch of extra animation properties that you can enable or disable. So let’s click on the Add button and select Position.
If you open up underneath the range selector in Advanced, we’re going to change the Based On parameter, and instead of Characters, we’re going to select Lines.
This means that it will animate according to the lines of text (e.g. line 1, line 2, line 3).
Change Units to Index, and now if you play with the Position value, you can see how the text is animating the lines individually.
Now, right at the point where the final keyframe is, when the box reaches its final size, I’m going to insert a position keyframe (this is not the position of the entire layer, it’s just modifying the position of each one of these text lines).
Move to the middle keyframes and offset them so that they make a diagonal line. You can see the little “x”s in the image represent where all the characters are.
Go back to the end keyframe and insert a position keyframe (this is the position of the entire layer).
And then go back to the middle point of the animation with those two keyframes and push the text off to the left.
And now, if you preview the animation, it should match the reference animation. To finish this off, all we need to do is select the keyframes and hit F9 on the keyboard to easy ease them.
Then go back into the graph editor and adjust the speed to about 90% of the incoming influence.
The final step is to add a nice-looking background. I’ve downloaded some really cool-looking backgrounds from Envato Elements which we can use for this project. Simply import one and place it above the black background.
You can download the background I’ve used by clicking on the link below:
Hit Control-Alt-Shift-G, which is the keyboard shortcut to resize the layer to fit the composition’s height.
Apply a Fast Box Blur effect to the background layer so that it doesn’t compete with the contrast of the text layer.
Another effect that looks even better is the Camera Lens Blur. It contains more effects, but it’s more intensive to render.
You can also add a Curves Effect to the background.
Congratulations
Congratulations! And that’s how you can animate a bounding box reveal animation in Adobe After Effects. Now that you’ve learned the basics, check out some of the other tutorials we have below.
I hope you’ve found this After Effects animation tutorial useful, and I’ll see you next time on Envato Tuts+!