Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
As we know all objects inside of Illustrator, all paths, are made up of anchor points. Now there are many times when you are working with creating objects when you need to actually fuse or join anchor points together. So in this video, we're going to focus on two commands inside of Illustrator. One called Join and one called Average and we'll actually see how we can use both of these settings together to get the results that we're looking for. To begin with, I'm going to zoom in just on these leaves right over here and notice that when I click on this to select it has a bounding box around it.
I'm temporarily just going to turn that bounding box off for now, so we can better focus on seeing the actual anchor points themselves. To do so, I'm going to go to the View menu. I'm going to choose Hide Bounding Box, the keyboard shortcut for that is Command+Shift+B or Ctrl+Shift+B, and now I have the bounding box turned off. We can clearly see where the anchor points are on these objects. Now if I take a look at this leaf over here, from a first glance, it may appear as if this leaf is actually joined as one object, but it's really made up of two shapes. If I click on this part of the leaf here, I see that it's completely separate from this part of the leaf as well.
They're two objects that just happen to be kind of touching each other. I'm going to press undo to return them back to the original position and more so, the anchor points. These objects are just made up basically of two anchor points each, one here and one here for this object, and one here and one here. Actually, this one is the third one right over here. But these anchor points on the ends, if I press undo here, are actually occupying the same coordinates or same position. They're basically just one right on top of each other. Now I'm going to deselect by clicking on the background here.
I already locked all these objects and they so they won't become selected when I click in these areas here. But the first thing that I need to do is just make a selection to tell Illustrator which anchor points I want to connect. Now normally to make a selection, I would just click on something and if I wanted to select two objects, I would hold down the Shift key and click on the second object. But in this example, both anchor points are stacked right on top of each other so I have to use a marquee selection in order to select both of those elements. Now remember, if I'm using my regular Selection tool as a click and drag, I'm going to be selecting entire object, meaning all the anchor points here.
I just want to join these two separate anchor points into one. So I'm going to hold down my Command key or Ctrl on Windows. So I now temporarily access my Direct Selection tool and I'm going to click and drag to marquee select these two anchor points. So at this point right now, I have two anchor points selected, one from each of these halves of the leaf. Now I'm going to go to the Object menu, I'm going to choose path, and then this option here called Join, the keyboard shortcut is Command+J, and now these two anchor points have been combined into one.
Now, I can do the same for these two anchor points that are right here. I'm going to basically deselect my object, hold down my Command key, now I'm going to click and drag to marquee select these two anchor points and I'm going to use the keyboard shortcut Command+J or Ctrl+J to now join those together. I now have one single object. I have taken two objects and by fusing their anchor points together, I now result with one single object. Now in the example that I just showed you right now, the anchor points that I was joining together were stacked right on top of each other.
But let's take a look at another example. I'm going to zoom in on this leaf right here at the bottom and you can clearly see that while these two anchor points are stacked right on top of each other, these two are very far away from each other. So what happens now if I want to join these two anchor points together? Well I'm going to use my Direct Selection tool, I'm going to click and drag to select these two anchor points, and if I go to the Object menu and I choose Path > Join, notice that what Illustrator does is it leaves the two anchor points in the positions where they were but it creates a straight line, basically a path, to connect those two anchor points.
So my result is that they are joined but a path is added there to basically close off that area. I'm going to press Undo because I don't really want that effect. What I really want is I want Illustrator to somehow figure out a location somewhere in between over here where both of these anchor points might move for example. I'm doing this manually but I'm moving two individual anchor points together and now they are overlapping the same spot and my leaf comes to a point. So if I press now Command+Z to undo that action, I just pressed Undo twice to return both anchor points to their original position here, I could perform an action in Illustrator called Average, where Illustrator will look at the position or the coordinates of each of those anchor points and come up with some kind of compromise or area or another position where both those of those anchor points can come together.
So I'm now going to basically drag- select these with my Direct Selection tool. I'm now going to go to the Object menu, I'm going to choose Path and now I'll choose average and Illustrator just needs to know how we should perform that average. Should it look at the horizontal axis, the vertical axis, or both of them? In this case here, I want to select both horizontally and vertically. So I'm going to the Both option and in just a short while we are going to really understand better what these two horizontal and vertical settings do. But for now, I'm going to click OK and you'll see that Illustrator now calculated a position that both lines up these anchor points horizontally and vertically so their positions are now averaged.
It hasn't joined them yet, but it found out a place where they can now both overlap and at this point, I can go back to the Object menu, I can choose Path, and I can choose Join. I'll share with you a little bit of a keyboard shortcut though. It's somewhat tedious to have to first perform the Average command and then on top of that also perform the Join command. I mean after all doesn't Illustrator realize I am only averaging it so that I can join it? It's true that there are times that you might want to average something that you don't want to join them. I'm just going to press Undo to go back to the original positions here.
But there is a keyboard shortcut that you can apply that will perform both the averaging and the joining together. So once again with my Direct Selection tool, I'm going to click and drag to select just these two. Now normally the keyboard shortcut for joining is Command+J or Ctrl+J. The keyboard shortcut for the Average command is Command+Option+J or Ctrl+Alt+J on Windows. Well if you hold Command, Option and Shift while tapping the J key, or in Windows that would be Ctrl, Alt and Shift, using that keyboard shortcut will actually perform both commands, the Average and the Join command, in one step.
So let's try that right now. I'm going to press now on my Mac Command, Option and Shift and then I'll hit the J key. Notice now that Illustrator found the average for both the horizontal and the vertical axis and join those two anchor points together into one, all with one keyboard shortcut. Now I want you to get a better idea of exactly what this averaging command does, specifically in regard to both horizontal and vertical. So I'm going to zoom out just a bit here and let's focus on these lines that are down here on the bottom of the page.
I'm going to use my Direct Selection tool to click and drag to select all the anchor points on the left sides of these paths. So these anchor points are not selected but these are. Now if I want to calculate an average position for all these anchor at once, I can go to the Object menu, I can choose Path > Average, and I'll start off by choosing Horizontal. When I click OK, watch what happens. If I were to draw a line now straight to the middle, you can see that all these anchor points are aligned horizontally. I'm going to press Undo and now once again I'm going to click and drag to select just the left side anchor points.
Now I'm going to use the keyboard shortcut Command+Option or Ctrl+Alt+J. This brings up the Average dialog box and this time, I'm going to choose the Vertical option. When I click OK, you can see that Illustrator found the vertical average between all those different anchor points. Now, in reality the functions that I've just been doing now with averaging can also be accomplished using the Align tools inside of Illustrator,. Those can be found here in the Control panel. So for example, if I press Undo and once again I click and drag with the Direct Selection tool to select just these anchor points, I could use this option right here, Align Horizontal Left, to now line up all those anchor points as well.
This is one of the nice things about Illustrator. There are always multiple ways to accomplish similar tasks and later on in another chapter in this video title we will cover in depth how to use all these other align functions. But hopefully this gives you a better idea on how to use the Average commands inside of Illustrator and more importantly, how to combine and average at the same time using that combine keyboard shortcut so that you can quickly and easily join anchor points together. Now there is one thing that I want to talk about which is new to Illustrator CS5 and that's the ability to actually join multiple anchor points at the same time.
Now, if I go back up over here to our leaves, kind of zoom in on this area right here. When we were joining these objects together, I was selecting two anchor points at a time and then creating a join. Well take a look at this. I have a leaf over here, which also is set up in to two halves. It's two separate objects. If I know that I want to basically join all of these anchor points together, I can use my Selection tool and I can click and drag to select both halves at the same time. Now I'll use the keyboard shortcut Command+J or Ctrl+J on Windows and in one step, Illustrator not only joins these anchor points here but these anchor points as well.
In other words Illustrator right now did a search throughout those paths for overlapping anchor points and automatically connected all those that were separated. So with Illustrator CS5, I don't necessarily need to work with just two anchor points at a time. I can go ahead now and just click and drag to select two objects. I know right now they are split into two shapes but I can hit Command+J or Ctrl+J to combine those together into one shape.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50047 Viewers
117 Video lessons · 37381 Viewers
113 Video lessons · 81210 Viewers
65 Video lessons · 10684 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.