After Effects has several default features that help you make simple but creative animations, those options are not limited to the shapes you can create with the software but also work for text layers.
If you have ever wanted to animate a message, so each of its words appears and disappears progressively, keep reading because we are about to show you how to replace a text multiple times without deleting it.
Using Source Text to create a basic text animation
Imagine you want to make a karaoke-style video where, according to the moment, the only word to be sung appears on the screen. How would you do this?
The first answer to your mind may be to write word by word in an individual text layer. Wrong! The Timeline would be chaotic. The easiest way is to activate keyframes on a feature called Source Text. Here is how to use it:
- Activate the Text tool by clicking Ctrl + T or Cmd + T if you are working on Mac.
- Type a word in your chosen font and center it with the Align panel buttons.
- When your word is centered on the composition screen, go to the corresponding Text layer on the Timeline and expand the properties tab.
- Choose the Text option, locate the Time Indicator at the beginning of the Timeline, and turn on the stopwatch next to Source Text. Now you can change the text you have just written and rewrite it numerous times with a new word.
- After you have created the first keyframe, move the Time Indicator again, but a few seconds ahead. After that, select your entire word, delete it and type a new one.
- Play your composition from the beginning of the Timeline with the space bar, and see how the original word remains but changes just the second you decide to create a second keyframe with a new one.
- Keep adding keyframes by positioning the Time Indicator at the seconds you want and typing as many new words as you wish.
In case you don't want to perform this animation or you want to start from scratch, disable the stopwatch. This way, the keyframes associated with the Source Text will disappear from the Timeline.
Replacing text without deleting it is an exciting trick to animate in After Effects, so we recommend you take advantage of it in future projects.