![](https://static.wixstatic.com/media/2029c1_fc54fc361a4247feafb2cc9709876795~mv2.jpg/v1/fill/w_980,h_551,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/2029c1_fc54fc361a4247feafb2cc9709876795~mv2.jpg)
In this tutorial, let's explore how to apply a layer mask to create a text reveal animation using Adobe Animate.
This technique is a great way of bringing attention to a title in a social media post, or in this case, a digital ad for a fictional auto manufacturer.
The first step is creating a new document in Adobe Animate. Here's how!
Create a New Document
Click on Create New, which will launch the New Document window.
From the preset options above, click on Ads.
From the size preset options, select 300x600.
Set the Frame Rate to 30.00.
Set the Platform Type to HTML5 Canvas.
![](https://static.wixstatic.com/media/2029c1_9d364082a5d94908a92040ecbb6c92e9~mv2.png/v1/fill/w_980,h_551,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/2029c1_9d364082a5d94908a92040ecbb6c92e9~mv2.png)
Now that the document is set up, let's start to create the layers in the project. There will be eight in total, but let's begin by adding seven and renaming them, accordingly.
Creating Layers
In the Timeline, click the Plus icon six times to create six more layers.
Name them, from top to bottom: mask, title, brand, price, button, terms, image.
Adding Content and Creating Mask
Click on the Image layer and then go to File > Import > Import to Stage.
Use the Transform window to adjust the width and height of the image. For this tutorial, I set value to 14% for both width and height.
In the upper corner of the workspace, click the "Clip Content Outside of Stage" icon to see the image masked to the canvas.
In the Timeline, select all the Layers and scroll to the 10-second mark. Click on the first empty frame, hold Shift and click the last empty frame and press F5 to insert empty frames to extend the length of the animation.
Now that the image is in and the timeline has been extended, you can start adding the content to the digital ad.
Click on the title layer and then choose the Type Tool from the toolbar.
Click anywhere on the canvas to add placeholder text.
Type "Fierce & Fast" over two lines, as you see in the tutorial preview image.
Set the font to a Sans Serif – I am using Benton Sans Wide Black, but you can choose a font of your liking.
Set the pt size to 52, Kerning to -2 and line spacing to -15. This will differ depending what font you use.
Apply a color fill with the code #D6EAFE or color of your choice similar.
Next, let's focus on adding the mask to create the text reveal effect to project.
Click on the Mask layer and with the Rectangle Tool, create a rectangle shape that covers the the main title. The fill color can be White or same colour as title.
Adjust the X position to -200. This can be found in the Properties panel, under the Object tab.
![](https://static.wixstatic.com/media/2029c1_a60ad4191ff9480ba7a98773528ae5ac~mv2.png/v1/fill/w_980,h_551,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/2029c1_a60ad4191ff9480ba7a98773528ae5ac~mv2.png)
Drag the playhead to the 2 second mark in the timeline.
Press F6 on your keyboard or click Insert Keyframe icon from the Frame dropdown above the Timeline panel. (F6 is the best and much easier!)
Drag the playhead to the 75-frame mark in the timeline.
Press F6 to insert another keyframe.
Adjust the X position until the shape is completely covering the title, as seen here.
![](https://static.wixstatic.com/media/2029c1_0b466dbd98f54c3d9acafbf7a470df89~mv2.png/v1/fill/w_980,h_551,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/2029c1_0b466dbd98f54c3d9acafbf7a470df89~mv2.png)
Right click anywhere between the 2 second mark and frame 75.
Choose Create Classic Tween.
This is how the transition will look after applying the settings explained above.
![](https://static.wixstatic.com/media/2029c1_5ba1d9a919be44ea800d8eb726a9a96e~mv2.gif)
Next, right click the Mask layer in the Timeline, and choose Mask.
This will mask the text and create a reveal effect.
![](https://static.wixstatic.com/media/2029c1_fd8f4b756b8745cc9ac0493e6e86519c~mv2.gif)
The next step is creating a line that opens and creates a "swipe" effect as part of the text reveal.
Click on the Mask layer and then click the Plus icon to create another layer above it. This will become the Line layer, so you can name it, Line.
Select the Line Tool from the toolbar and roughly draw a line the depth of the the title. Don't worry so much about the length of it – it can be adjusted after.
Select the Line layer and go to Modify > Convert to Symbol or right-click the line and choose Convert to Symbol.
Name the symbol "Line" and set the type to Movie Clip.
Click OK.
While still on the Line layer in the timeline, move the playhead to the 1 second mark and insert a Keyframe (F6).
Move the playhead to the 40 frame mark and insert another Keyframe (F6).
Move the playhead back to the 1 second mark and in the Transform window, set the Scale Height field to 0%.
In the Object tab, in the Properties Panel, set the Color Effects dropdown to Alpha and the Opacity to 0%
Right-click anywhere in the timeline between the 1 second and 40 frame mark and Create Classic Tween.
Move the playhead to the 2 second mark and insert another Keyframe (F6).
Move the playhead to the 75 frame mark and insert another Keyframe (F6).
While on the 75th frame, use the X position to move the line to the right of the title.
Right-click anywhere in the timeline between the 2 second and 75 frame mark and Create Classic Tween.
![](https://static.wixstatic.com/media/2029c1_9d2c47a38e6a43728e8a63198a1e90c8~mv2.gif)
Move the playhead to the 3 second mark and insert another keyframe.
Move the playhead to the 100 frame mark and insert another keyframe.
On the 100th frame set the Scale Height field in the Transfer window to 0%.
In the Object tab, in the Properties Panel, set the Color Effects dropdown to Alpha and the Opacity to 0%
Right-click anywhere in the timeline between the 3 second and 100 frame mark and Create Classic Tween.
Remove all frames prior to the first classic tween animation at the 2 second mark. To do this, click on the first frame, hold Shift and click on the 29 frame mark and press Delete on your keyboard.
Add an Ease In Out ease to the Classic Tweens. This can be done by clicking anywhere in a Classic Tween transition and going to the Properties Panel. Under Tweening, choose Classic Ease and then choose Ease In Out from the left side panel. Double-click the Quart option. This ads a cleaner transition with Ease In and Out.
Here's how it will look.
![](https://static.wixstatic.com/media/2029c1_065daca4d67941fdb950c6f947015c81~mv2.gif)
Watch the video tutorial to learn how to add a simple pulse effect to the main image and export as an animated GIF.
Kommentare