[music] hi! Everyone, it’s ihor from motion design school and in this video. I will tell you everything you should know about working. With Adobe Illustrator layers in after effects, we’re gonna start from import and file preparation. Then I’m gonna cover two different approaches of working with vector layers in after effects problems that you may deal with, and I will also suggest you a couple of tools that will significantly improve your workflow And, of course I will show you how to use them. Actually, this video turned out a bit longer than I thought it would be so time Codes are included. And let’s get started. Alright, let’s start from import. Everything is pretty easy here. Just double click in the project panel. Select the file that you would like to import and click import in this pop-up window. I would recommend you to select the import kind as composition because we want after effects to create a separate composition with all the layers inside of it. If you change it to footage, all the layers will be merged into one, or there is also an option to import just one separate layer from the Adobe Illustrator document. But, actually, I don’t use this feature at all, so I’m gonna change it to composition and in footage dimensions, I’m gonna select the layer size because we want all the objects to have the bounding boxes of their original size, not the whole canvas size. Okay, and right now we have a separate composition with all the layers inside of it and also a folder with all these layers. I’m going to open the composition, and as you can see here, I have all the separate elements on separate layers, and that means that I can already start animating it, but before talking about what we can do in after effects, Let’s talk about what we need to do in Adobe Illustrator, First to make everything look like this in after effects. Alright, so here we are, and I think it’s pretty obvious that all the elements that you would like to animate separately in after effects should be placed on a separate layers inside Adobe Illustrator. Just pay attention that you need layers, not just groups that you can create with the help of Ctrl G hotkey. Actually, there are two ways to split the illustration into layers. And I’m gonna show it to you On the example of another source file where we have nothing prepared yet and the first way is to create a new layer by using this button. Rename it to something more clear to you. For example, I’m going to rename it to bone, then select the object. You would like to be separate in after effects and place it on this layer and that’s it. Just repeat the same operation for other objects, or it can be done in much easier way. Just draw everything in one layer, then group all the objects you would like to be separate in after effects like I did here And then select the main layer go to layers, panel menu and select release to layers sequence that way each element right now is on each separate sub layer and all you have to do is just select all the sub layers and drag them out of the main layer so that they all have the same highest hierarchy level. And that’s it. I’m going to remove the empty layer and save the file and one more important thing is when you save the file using the save as function, please don’t forget to select the create PDF compatible file option, otherwise after effects will have problems with reading this file. Okay, let’s get back to after effects and talk about the ways to work with illustrator layers inside of it, and the first approach is to leave everything as it is, maybe just turn on continuously rasterize option for all the layers to be able to scale them without quality loss like this here. If I turn off this option, there will be some pixels, but with it, it’s perfect and the cool thing about this approach is if I change something in Adobe Illustrator, for example, I’m gonna change colors of some of these objects. After saving the file, everything will be automatically updated in after effects, too, but be careful with making edits because if you significantly change objects, shape or layer structure, especially if you already have animation in the scene, this will ruin everything in after effects, so what I can say about this approach In some cases, it works well, but I would say for very basic and not complex animations, which are created with transform properties or it can work well for digital cut out animation, but in complex projects with custom animations like this, we usually use this approach, mostly for background elements and textures, where we don’t need that much control over layers, shape and properties and here comes the second approach, which we actually use in almost all our projects and this approach is that we convert everything to shape layers. It’s very easy to do just select all the layers you would like to convert, right, Click, select, create create shapes from vector layer and that’s it, everything is recreated with shape layers. This approach has a bunch of advantages and first of all its flexibility because we have access to all drone groups of the object so we can control their path. Property, stroke settings change their color and have a full access to transform properties of each group. Moreover, if you see that the splitting illustration into layers that you did in Adobe Illustrator doesn’t work, you can still rearrange layers inside after effects and believe me. There will be so many of such cases and the second advantage of this approach is that it can significantly reduce the project folder size because after converting everything to shapes, all the graphics are recreated inside after effects. And we don’t need source files anymore. Of course, sometimes it can be risky to remove the source files. So you can just pre-compose them. [MUSIC] and turn off its visibility [Music] but there are few nuances. You should know about when working. According to Shea player’s approach, the first is artboard bound in boxes. Let me explain! What is this and why does this appear? So for example, I decided to add a shadow to this element in Adobe Illustrator. I’m gonna do that in the following way. I will duplicate this pink ellipse. Remove stroke from it. Then I’m gonna change its blending mode to multiply adjust. It’s shape to something like this. It will also adjust its opacity. And sorry, Tyler. For violating your designs. It’s all just for educational purposes, save the file switch to after effects, and if I decide to convert this object to shape layer, there will be no transparency, no blending modes and, moreover, there will be additional rectangular paths around this object and because of that, this tiny object will have a bounding box of the composition size, and that doesn’t allow me to select objects that are below this layer that happened because after effects automatically creates additional groups with paths and additional merge path modifiers that create artboards around my object. Of course you can find and remove them manually. That may take you some time, or you just can use the remove artboard button of our free motion tool script. The link to it is in the description, and for that you just need to select the object and click remove artboards button that will automatically remove all the merge paths and additional groups. So if you deal with an artboard issue know that this is caused by change the opacity and blend mode in Adobe Illustrator, So after removing artboards, you will have to fix these properties in after effects manually and the next problem that you can deal with is gradient fills. If your illustration have gradient fills like this one, there will be a problem. Because after effects cannot convert gradient fills correctly, so after converting this illustration into shape layers, all the objects will be painted with gray color and most of them may have this artboard issue, so you can try to recreate all the gradients manually or leave gradient parts as illustrator layers and this problem also can be solved by one of the tools that we are going to talk about next and the first tool that we are going to talk about is a great game changer in import process, its overlords developed by Battle X. It’s not free, but it totally worth its money and it became an essential tool of my working process. The link for it is also in the description to this video. This extension will be automatically installed for after effects and Adobe Illustrator. After installation. You’ll find its panel in window menu, extensions, overlords, and once it is opened in two programs. You can already start working with it. It’s very easy to use. You just need to select object or group or whatever you would like to import to after effects and click this button, it will import everything to after effects as shape layers, and as you can see, we have all the gradients inside of after effects and all the blending modes imported correctly that was impossible with create shapes from vector layers and the coolest thing that this import works in both directions. So for example, I have this guy with eyes closed from pleasure, but I also need him with eyes wide open. According to the client’s script and I don’t have this state in Adobe Illustrator File, So I’m gonna draw him tiny eyes in after effects D phase studio. Just please forgive me for violating your illustrations. This layer will be called eyes open and by pressing this button in after effects. I will push it back to Adobe Illustrator. Okay, now I can pass this source file to my teammates who may also need this face expression in their scenes. Well, there are some more import options that I would like to pay your attention to the first one is called split shapes, two layers. That means that you don’t have to split everything into layers in Adobe Illustrator. Once again, it’s enough to draw everything In one layer group, the object’s name them properly and then just select the general layer and click this button. It will automatically import all the groups as separate layers and yes. Everything looks amazing. Even names are the same. That’s really insane. And we also have here a text layer that would have been ignored if we used create shapes from vector layer option, the next import option is detect parametric rectangle or ellipse. I usually leave. This option turned on after effects by default, or with this option. Turned off, converts all the ellipses and rectangles to bezier paths, but with this option, rectangles and ellipses will be imported as parametric shapes, for example. If I push this rectangle with this option turned on, I will be able to adjust its position size roundness of its corners, and this is very useful, especially in Ui animations, morphings and a lot of other cases. The next import option is center anchor points. Basically, it places anchor points in the center of your object, not a composition center, and this is the second option that I always leave turned on the last option of these four just places the imported objects to the center of composition. I don’t use this really often. The next one is for switching between illustrator and after effects and vice versa. And this one is really useful. It creates a new illustrator document of the same size as your opened after effects composition. Sometimes this can be helpful if you eventually created a wrong size document or started to draw something in a wrong file and this button is for pushing swatches to after effects for that, You just need to open. A Swatch panel select a Swatch, click this button and after effects will automatically create a swatch on a shape layer. [MUSIC] And the last button here allows you to push guides to after effects that was all the main functionality of overlord extension, and now let’s switch to the tool that will help us in working with imported illustrator files and shape layers on the timeline. So this is our motion toll script. It was developed by our founder, Yaroslav Kononov, and our great developer Mikhail Uklev. It’s absolutely free you can download it by following the link in the description. Comprehensive tutorial is included. Actually, we use this script on an everyday basis. It’s a very versatile helper. It has a bunch of functions for working with animation layers and keyframes, etc, but today we’re going to focus mostly on these buttons that serve for work with shape layers, so the first button is convert to shape and actually, it converts selected vector layers to shape layers. Pay attention that each button. The script has an additional function if it’s clicked with a modifier key, for example, If I click convert to shapes with alt key pressed, this will automatically remove illustrator layers from the timeline and even annoying artboard groups from the shape layer contents. That means we don’t need to click this button afterwards, and now let’s talk about these two guys here. They save my time and life every day. Remember, I told you that there are often cases when you realize that splitting into layers you did in illustrator doesn’t work so you can change it in after effects, but if you are doing this with simple cut and paste, you will get position problems, for example. I have these two layers of the rope and I want them to be. In one layer, I’m gonna cut the group one from the row player and gonna paste it to row back, and as you can see, there will be some position and anchor point problems, so these two buttons actually serve for comfortable rearranging of layers, extract button extracts selected shapes to a separate shape layer and merge button merge selected shape layers into one like almost all buttons of the script. These two also have additional functions when they are clicked with Modifier key pressed. Actually, there are more functions in this script that can be really useful while working with vector layers as well, but this is a topic for another lesson, which is waiting for you together with a download link in the description, and that’s basically it. These were two approaches of working with illustrator layers in after effects and the tools that we are using in our workflow, So let me know. Was it helpful? Maybe you have some questions. Leave them in the comments and tell us more about your workflow. And, of course, don’t hesitate to share some tips too. If you enjoyed this video, give it a like, share it with your friends subscribe to our channel and follow us on social media and see you in the next one. [music] you!