The ability to animate artwork from Adobe Illustrator is key to creating beautifully designed animations. This lesson of the After Effects Fundamentals series, covers the ins and outs of preparing your Illustrator artwork, and then importing, making changes, and animating it in After Effects.
Jump to topic on this page:
Find in video:
0:36
9:57
Import Illustrator File into After Effects
10:29
13:49
16:23
21:24
23:07
In order to be able to animate your artwork once you bring it into After Effects, there are a few things that are important to do first. If you need help creating artwork in Adobe Illustrator, this class walks you through the entire process.
Only one artboard will be recognized by After Effects, so layers that aren't on that artboard won't show up. To avoid issues, make sure that your Illustrator file only has one artboard. An artboard translates to a composition in After Effects.
To delete additional artboards, use the Artboard Tool in the left toolbar to select and delete artboards. Or, find the Artboard panel. If it's not already on your screen, go to Window > Artboards.
Layers that are completely outside of the artboard will be blank inside After Effects. If a layer is partly on the artboard, only the part that's on the artboard will be visible in After Effects.
Any piece of your artwork that you want to animate will need to be separated onto it's own layer. If you're not sure what parts of your artwork need to be separated out into layers, the video for this lesson provides some examples. When in doubt, it's better to separate into layers because you can easily connect layers in After Effects, but it's trickier to separate a layer once it's imported.
If you don't see the Layers panel, find it under Window > Layers.
If you didn't already separate your artwork into layers as you were creating it, below is a quick(ish) way to do it. This trick only works if your layers look like the image in step 1 (a bunch of shapes, text, groups, paths, etc. are nested inside one layer).
Step 1: Select the top-level layer containing a bunch of artwork
Step 2: Click the hamburger menu in the top right corner of the layers panel and choose Release to Layers (Sequence)
Step 3: Now you should have a bunch of layers named "Layer 2, Layer 3... and so on". But they'll still be nested under Layer 1. Select the first layer, hold shift, and select the last layer, then drag all these nested layers out of Layer 1, so they're no longer nested.
Step 4: Label each layer something descriptive that will help you know what it is in After Effects. Double click the layer name to edit it. As you're doing this look for layers that need to be further separated out or layers that could be condensed.
Click the + icon in the bottom of the Layer panel to add a layer. You can drag a elements (like shapes, text, paths, etc.) from one layer to another.
If you need to ungroup artwork, the keyboard shortcut is ⌘/Ctrl + Shift + G.
To quickly combine layers, select the artwork (across different layers) that you want to be all in one layer, and group them. The keyboard shortcut to group artwork is ⌘/Ctrl + G.
Select the layer, then hit the trash can icon at the bottom of the Layers panel. Illustrator will warn you if you're deleting a layer that contains artwork.
You can't add layers to your Illustrator artwork once you've imported it into After Effects. So, you may want to add empty layers in Illustrator before you import into After Effects. This way if you need to add something later, you can put it in one of the blank layers and it will be show up in After Effects (look for it in the bottom left corner of your composition).
It might sound obvious, but I've seen it cause confusion... Make sure you save your Illustrator file (.ai) somewhere where you know where it is so that you import the correct file into After Effects.
I like to have a folder for the project with subfolders for different types of files:
Importing a file into After Effects creates a link to that file. So, if you move the .ai file once it's imported into After Effects, you'll get a "missing footage" error so try to be organized from the start. For more tips on staying organized, check out this lesson.
There are a few ways to import a file:
Navigate to where you saved the Illustrator (.ai) file.
Make sure to choose Import As: Composition Retain Layer Sizes
Once imported, you should see your Illustrator file as a composition in the After Effects project panel. There will also be a folder with all of the layers. Double click the composition to open it in the timeline.
The size of the composition AE creates from your Illustrator file will be the same size as the Illustrator artboard. If you need to adjust any of the composition settings, the keyboard shortcut is ⌘/Ctrl + K.
If you forget to change the "Import As" settings and import your Illustrator file as footage, it will show up as one flat image. You won't have access to the layers you separated out in Illustrator.
If you choose "Import As: Composition", all of your layers will have a bounding box that's the size of the composition. This makes it difficult to select layers in the Composition Viewer.
Illustrator layers have all the usual Transform properties (anchor point, position, scale, rotation, and opacity) that you can keyframe to animate. Click here for a refresher on how to set keyframes.
Adobe Illustrator is a vector-based program, meaning that it uses math behind the scenes to calculate how graphics look. This means that you can scale up vector artwork (indefinitely!) and it will never become pixelated or blurry; artwork will remain looking sharp.
Programs like Adobe Photoshop and After Effects are pixel-based. They use tiny blocks of different colors (pixels) to make up an image. If you scale up a pixel-based image, it will look pixelated (i.e. you'll start seeing these blocks of color).
This comes into play when you scale up an Illustrator layer in After Effects. Initially, the layer will start to look pixelated, but if you click the sun icon on the layer, it will continuously rasterize the layer. This means that After Effects will calculate the vectors of that vector-based Illustrator layer for every frame so that it always looks nice and crisp.
Keep in mind that if you look at your artwork really zoomed in (like 800%), it's normal that it will look pixelated (even if it's continuously rasterized). You can zoom into your composition with the drop down in the bottom left corner of the Composition Viewer or by using the period key on the keyboard.
Once you've imported your Illustrator file, there are some changes that you can make to your artwork in Illustrator that will automatically update inside After Effects. This is because there is a link between your Illustrator file and After Effects project. However, some changes won't work.
Here's what you can and can't update in your Illustrator file, after it's been imported into After Effects, and see the change reflected in After Effects:
* If the center point of the element changes in Illustrator, it won't update in After Effects. This just means that the position of elements might be off, but it's easy to manually adjust the position in After Effects.
After Effect shape layers have additional properties, like the path and stroke and fill properties that Illustrator layers don't have. Here's the same layer as a shape layer verses an Illustrator layer:
To convert an Illustrator layer to a shape layer:
This will create a shape layer from your Illustrator and turn off the visibility of your Illustrator layer. You can delete the Illustrator layer because if you ever need it again, you can find it in the folder for that Illustrator file in the Project panel.
Sometimes the process of converting an Illustrator layer to a shape layer doesn't work perfectly. If you see the shape layer's bounding box around the edge of the entire composition, but your shape layer shouldn't be that big, After Effects probably added an unnecessary Group and Merge Paths.
To fix this, toggle down your shape layer: Contents > Group. Look for Group and Merge Paths in here. You can probably delete these. Worst case, you can always undo if it messes up your shape.
If you tend to convert a lot of Illustrator layers to shape layers or get frustrated with the link between Illustrator and After Effects, you might want to check out Overlord.
Overlord is an extension that you buy, download, and install (it's very easy). It allows you to push artwork including shapes, paths gradients, text, guides, and more from Illustrator to After Effects. The benefit of this workflow, is that all your layers are automatically shape layers or text layers. This means they can be edited and animated with the additional properties that shape layers, or text layers, have that Illustrator layers don't. You can even make changes in After Effects and push them back into Illustrator.
I use Overlord at least 90% of the time to when working with Illustrator artwork in After Effects. It feels like a more flexible system where I have more control.
By using this affiliate link, I get a small cut of the sale, at no cost to you. I promise I only recommend things I actually use.
...and four other plugins that can help you work smarter, not harder, in my class: Top 5 Plugins for Efficiency in Adobe After Effects.
Check out the classIn the next lesson, you'll learn about working with effects.