## Day 9: Creating Compound Paths

Almost all objects in over daily life can be built with basic shapes. By drawing shapes using our basic shape tool, we can use compound path to combine or subtract shapes to create what we need.

### What is Compound Path?

Compound path is made out of at least two objects. You can add, subtract and intersect shapes to form a compound path.

### Compound Path Cheat Sheet

I have compiled a cheat sheet to show how it looks like using different functions of compound path. You can see the final effect after we applied the compound path to three colored circles.

### Creating an Ancient Key Using Compound Path

In this tutorial, I will show you how to create an ancient key using compound paths rather than using Pen Tool in our previous tutorial.

### Turning on the Grids

Go to View>Show Grid to turn on the grids, then go and turn on Snap to Grid. With the grid and snapping turned on, you can easily snap objects to the grid.

First draw a Circle using your Shape Tools, hold Alt/Option as you click and drag a new copy beside it.

Duplicate a new circle and place it on top.

Next, select the Rectangle Tool and continue building up your key shape.

Swap the Fill and Stroke for the object, this will show you all the objects we have.

Using the Selection Tool, select the whole shape and go to Window>Pathfinder to bring up the Pathfinder. Select Add to shape to combine the objects.

You can still make changes to the compound path at this stage. Try moving the top circle below to see how it works. To do this, double click with the Selection Tool to go into isolation mode to move the individual shapes.

Next we will swap it back to black fill again, draw a circle in the middle which we will punch a new hole there. Select both shapes and select Subtract from shape area.

Here is the final illustration.

Be Sociable, Share!

#### Social Media Icons

1. wow, i never knew you could still change the compound path after selecting ‘add to shape’… i’m always using the ‘merge’ tool!

2. Sean O says:

Mine didn’t work like that. Instead of removing the middle, it took the whole thing with it! What could be causing this?

3. Hi Sean, Make sure the circle is on top of the key. Select both and click subtract from shape area.

4. ivan says:

to show grid it’s not “window>show” grid
it’s “view>show grid”

5. Sean says:

Thank you! It worked this time. On to the next lesson =D

6. Heidi says:

I can’t seem to manipulate the individual circle after using Add to shape. The entire compound path is moving altogether. What did I miss?

7. Hi Heidi, try to double click with the Selection Tool to go into isolation mode to move the individual shapes.

8. Swap the Fill and Stroke … after I’ve found it, it only made some of my key black. Besides, why should I keep down Alt/Option to draw the second cirkle? Give up for now ๐ Too many things I do not understand.

9. Leroy Simpson says:

Another good lesson, Jah rasta

10. emily says:

i think i got it! thanks!

11. Rodolfo says:

That was a really good tutorial!! you make it so easy to learn!! thanks a lot!!

12. Dwight says:

Just wanted to drop you a note on Compound Path lesson: Creating an Ancient Key. I found it very enlightening, and as a matter of fact; since Iv’e been visiting your site (less than two weeks), working in Illustrator has become less of a chore. Thanks for all your instruction.
Dwight

13. Duke says:

To those who have trouble –
You must hold down the alt/option key while clicking the “add to shape / unite” button in the pathfinder window. This way, you’ll be able to move each circle independently in isolation mode.

Try it this way. Draw 3 random circles with the ellipse tool, all overlapping eachother like the key. If you click the unite button in the pathfinder window, they’ll all now be one object and move together as one object, even in isolation mode. BUT, if you click the unite button while holding down alt/option, now they’ll be separate objects in isolation mode.

14. Tissaka Senarath says:

Again.. great tutorial.. thank you so much!!! very easy to understand

15. Ethienne says:

Love you guys!! you helped me a lot ๐

16. lj says:

What a great site. Thank you

17. hung vannguyen says:

very good

I dont understand the moving of the circles, it doesnt move for me, it moves the whole key not the circle.

i’m using cs4, would that change how it at all?

19. For CS4, it is different. Compound Paths get expanded on default. Hence, you will need to press Alt/Option before you click the Pathfinder effects to make it editable.

oh, thanks!

21. Devin says:

I’m almost an expert at photoshop, but trying to go from Photoshop, to Illustrator, is a DAUNTING task. Thanks for this tutorial! Its insanely helpful, and I’m starting to get the hang of this!
๐
Thanks!

22. Reginald Raju says:

me neva used ol dose compound and pathfinder effects… its amazing.. me used to draw ol dose shape.. buh its easier to use pathfinder..

23. Jennifer says:

Another excellent lesson. This is enjoyable and so easy to understand. Thanks again for being so generous and sharing your knowledge!

24. aurorasogna says:

I’ve CS4 but also with Alt/Option it doesn’t work. Any idea??

25. damian says:

if i place a new circle on an existing circle an try to subtract, it subtracts the wrong circle, not the little one , but one of the three big circles. Can someone explain this to me?

26. Subtract always take the top level object and subtract away the object that is directly below. In this case it will be the circle in the 2nd level instead of the bottom circle.

27. Johnni says:

# Duke December 26th, 2008

It adds the extra, that the tut missing. Very usefull. Thx Duke

28. Natrak says:

I got CS4 and moving circles inside the compound doesn’t work for me as well.

29. Perfect!! I got the flow. Illustrator is my thing!! Thanks alot for the lesson

30. Dear: I Try : “You can still make changes to the compound path at this stage. Try moving the top circle below to see how it works. To do this, double click with the Selection Tool to go into isolation mode to move the individual shapes.”
Into Illustrator CS4 but don’t works? You can help me!
Best Regards!

31. j0hnb0y says:

Hi,
Thanks very much for the tuts….this lesson took me a bit of time to get my head around but I got there in the end !!!
Cant wait for the next one

Regards

Johnboy

32. Thank you for this series ๐

However, like the other CS4 users, I couldn’t move the objects, even after using alt/option key. Any other way that we can try, perhaps? ๐

33. DAY9: The title of this lesson scared me a little – Compound Paths – but it wasn’t as bad as I first thought. Although, some of the finer points ARE a bit tricky – and not being totally au fait with many of the commands (yet) I find I have to go over it many times until it sort of works.
Hopefully things will get easier as I become more proficient and more aware of all the common tasks.
The terminology is one thing I AM having a bit of a struggle with. For example: ‘Swap the Fill and Stroke for the object’ and ‘go into isolation mode’ and ‘swap it back to black fill’ and ‘minus back’ (in the cheat sheet – which I got totally lost in BTW). Day10 beckons….

34. nicxf says:

using illustrator CS5 I found a couple of slight differences to the tutorial (which was excellent and I’m really enjoying them so far)
1. As mentioned above, you need to hold down alt/option key to make the paths remain inidivually editable when you’re merging them;
2. Before it’ll let you punch that final hole, you have to click the ‘expand’ button on the original set of paths to fully merge them before it’ll allow you to punch through. i tested this on a couple other shapes too and it seems to be the rule.

35. jana says:

to nicxt: I found another trick for CS4 (maybe it works for CS5 as well). You donยดt have to click expand, before punching the hole. Just keep your shapes in stroke, instead of fill, add the hole, select all shapes and Alt click on Substract (Minus). Fill the shape and you have it. This way you can still move and change each separate shape.

36. Lenore says:

Tx so much nicxf,
that’s exactly what I needed for my last punch!

37. hihi, tรดi rแบฅt thรญch cรกc bร i viแบฟt cแปงa trang nร y.

38. Katherine says:

What am I doing wrong? When I try to use pathfinder on my circles, it tells me that Pathfinder effects should usually be applied to groups, layers, or type objects, and that it may not have any effect on the current selection. …?

39. Haidang says:

I really like this tutorial! thanks a lot !

40. Nanda Scott says:

Dude, there’s something you’re doing here that you’re not telling anyone else. I can’t replicate each image because something you did is missing here. I can’t get the same image because when I click Swap Fill and Stroke like you said it doesn’t show me the overlapping lines. I’m completely lost on this because I don’t know what you’re doing, please help me!

41. kerry says:

Jana suggestion worked perfectly. I still don’t even know what expanding is, but sounds like if I can avoid it at this stage, it’s a good thing : )

42. Z-Rabbit says:

NICXF: 2. Before itโll let you punch that final hole, you have to click the โexpandโ button on the original set of paths to fully merge them before itโll allow you to punch through. i tested this on a couple other shapes too and it seems to be the rule

Hell yeah! I was messing with this for like 30 minutes before I got it to work. You’re a life saver!

43. Hello I just starting my own Illustrator project and I have filing that your blog will be very help full for me.
I have some question about illustrator compound path and I can’t find answer anywhere. When I’m creating two overlapped path lets say two circles. Small and large. Than I try using pathfinder to cut hole in the bigger one. but I don’t wont them to create compound path. Can I do something like this.

44. You can just go to Object > Expand the compound shape.

45. marso says:

thanks for this. btw, after selecting multiple shapes, you have to ‘Alt-click Pathfinder->Add’ to make the separate shapes editable after combinining them. Coz, if you just do ‘click Pathfinder->Add’, they cant be editable again. ๐ ijust figured this now.hehe.

thank you for this whole series of AI tute ๐ i’m going to the next lesson now ๐

46. marso says:

what i said was said by Duke and Vectordiary already. ๐ i’m just happy that i actually learn this time ๐ thanks guys…

47. Mariane Meira says:

Hey guys…thank you so much! This has been so helpfullll!!!!!

48. Eric says:

Double clicking the Selection Tool brings up a Move dialog box, and does not make the shapes editable. I am using CS5.

49. In CS5 you have to hold down ALT before & then click on the “Unite” or “Add”. It will then temporarily make it like that. After that you can go into isolation mode & edit it. Worked for me.

Thanks For the tutorials, I hope you’ll fix this soon ‘cos this is a major issue for most of the people going through your tuts.

Cheers.

50. Hey @Duke, thanks for explaining it better! I got it. Cheers!

51. hannah lake says:

when i try to use compound path it doesnt even come up as an option its grey out so i cant click on it. does anyone have any idea why? i have CS5

52. Grant says:

CS5 Use shapebuilder tool.

Try this: Draw one circle on top of another. Select both shapes (using shift). Select shapebuilder tool – as you hover it over each shape it will be ‘grayed out’ – Alt click over the shape you want to delete and voila!

Thank you great

54. Rajitha says:

Too bad I did not read the comments when I was in trouble with Add to shape and moving the circle after that.

This has been mentioned in other comments, CS5 users need to hold down ALT key when you click Unite to Add to shape if you want to be able to move the objects in the Isolation Mode.

Thanks for the tut.

55. Rajitha says:

@Grant : Thanks for the tip man, that really helped. (I’m on CS 5)

56. Gi says:

Very useful! Thanks so much for the help ๐

57. Michelle says:

I’m having trouble understanding “Swap the Fill and Stroke for the object, this will show you all the objects we have.”
I changed my fill from white to black, my stroke is in black but when I select either/or, I never seem to get a stroke (outline).
Any tips?

58. MikeH says:

I was having problems moving a circle when in isolation mode, then I tried holding down the control (alt didn’t work)key whilst clicking the add to shape area and it worked, I could move shapes in isolation mode.
Using CS3 on a Windows 7 box.

59. Actually it is best post.It is very helpful and important.

60. I am researching things like this that give excellent samples for the steps to take in this kind of art. I look forward in learning more from this site. This is awesome. Thank you!

61. Thnku so much,
thatโs exactly what I needed for my last punch!

62. Illustrator has a way of turning me mad. After I create the small circle inside the key, if I attempt to change its color, it changes the color of the key too. If I swap fill an stroke, it swaps not only in small circle but in key too. Lastly, if I select both shapes and click on the subtract thing, it complains that I need to select two intersecting paths. Can anybody explain me what is going on? I just don’t get it.
Thanks

63. Actually I found out that my problem is solved if I exit isolation mode BEFORE I create the small circle. Then, I can subtract the shapes ONLY if I keep alt/option pressed while clicking on “minus front” shape mode.
I completed the exercise, but I am utterly confused and don’t get a thing. It all seems random and crazy to me.

64. This is one of the green weight loss pills for men. Polyphenols have antioxidant properties.
Uterine fibroids plague as many as feasible,
like a single review may allure you to place orders instantly, on
some bogus product.

65. What a stuff of un-ambiguity and preserveness of precious know-how regarding unpredicted feelings.

• #### Overnight Reputation%URL%

What a stuff of un-ambiguity and preserveness of precious know-how regarding unpredicted feelings.
• #### Enogmaurice.Blogspot.frenogmaurice.blogspot.fr/2013/01/davido-and-manager-asa-asika-part-ways.html?m=1

This is one of the green weight loss pills for men. Polyphenols have antioxidant properties. Uterine fibroids plague as many as feasible, like a single review may allure you to place orders instantly, on some bogus product.
• #### Luis Martรญnezquantumredpill.wordpress.com/

Actually I found out that my problem is solved if I exit isolation mode BEFORE I create the small circle. Then, I can subtract the shapes ONLY if I keep alt/option pressed while clicking on "minus front" shape mode. I completed the exercise, but I am utterly confused and don't get a thing. It all seems random and crazy to me.
• #### Luis Martรญnezquantumredpill.wordpress.com/

Illustrator has a way of turning me mad. After I create the small circle inside the key, if I attempt to change its color, it changes the color of the key too. If I swap fill an stroke, it swaps not only in small circle but in key too. Lastly, if I select both shapes and click on the subtract thing, it complains that I need to select two intersecting paths. Can anybody explain me what is going on? I just don't get it. Thanks
• #### Shoaibwww.w3softs.com

Thnku so much, thatโs exactly what I needed for my last punch!
• #### Cindy Stoutwww.stoutsdeepfriedbites.com

I am researching things like this that give excellent samples for the steps to take in this kind of art. I look forward in learning more from this site. This is awesome. Thank you!

Actually it is best post.It is very helpful and important.
• #### MikeH

I was having problems moving a circle when in isolation mode, then I tried holding down the control (alt didn't work)key whilst clicking the add to shape area and it worked, I could move shapes in isolation mode. Using CS3 on a Windows 7 box.
• #### Michelle

I'm having trouble understanding "Swap the Fill and Stroke for the object, this will show you all the objects we have." I changed my fill from white to black, my stroke is in black but when I select either/or, I never seem to get a stroke (outline). Any tips?
• #### Gi

Very useful! Thanks so much for the help :)
• #### Rajitha

@Grant : Thanks for the tip man, that really helped. (I'm on CS 5)
• #### Rajitha

Too bad I did not read the comments when I was in trouble with Add to shape and moving the circle after that. This has been mentioned in other comments, CS5 users need to hold down ALT key when you click Unite to Add to shape if you want to be able to move the objects in the Isolation Mode. Thanks for the tut.

Thank you great
• #### Grant

CS5 Use shapebuilder tool. Try this: Draw one circle on top of another. Select both shapes (using shift). Select shapebuilder tool - as you hover it over each shape it will be 'grayed out' - Alt click over the shape you want to delete and voila!
• #### hannah lake

when i try to use compound path it doesnt even come up as an option its grey out so i cant click on it. does anyone have any idea why? i have CS5
• #### RSCdevrscdev.net

Hey @Duke, thanks for explaining it better! I got it. Cheers!
• #### Stuck In Timelastrhyme.blogspot.com/

In CS5 you have to hold down ALT before & then click on the "Unite" or "Add". It will then temporarily make it like that. After that you can go into isolation mode & edit it. Worked for me. Here's the source: http://forums.adobe.com/thread/696133 Thanks For the tutorials, I hope you'll fix this soon 'cos this is a major issue for most of the people going through your tuts. Cheers.
• #### Eric

Double clicking the Selection Tool brings up a Move dialog box, and does not make the shapes editable. I am using CS5.
• #### Mariane Meira

Hey guys...thank you so much! This has been so helpfullll!!!!!
• #### marso

what i said was said by Duke and Vectordiary already. :) i'm just happy that i actually learn this time :) thanks guys...
• #### marso

thanks for this. btw, after selecting multiple shapes, you have to 'Alt-click Pathfinder->Add' to make the separate shapes editable after combinining them. Coz, if you just do 'click Pathfinder->Add', they cant be editable again. :) ijust figured this now.hehe. thank you for this whole series of AI tute :) i'm going to the next lesson now :)
• #### Tony Sohwww.vectordiary.com

You can just go to Object > Expand the compound shape.
• #### Andrzejandpondesign.blogspot.com/

Hello I just starting my own Illustrator project and I have filing that your blog will be very help full for me. I have some question about illustrator compound path and I can't find answer anywhere. When I'm creating two overlapped path lets say two circles. Small and large. Than I try using pathfinder to cut hole in the bigger one. but I don't wont them to create compound path. Can I do something like this.
• #### Z-Rabbit

NICXF: 2. Before itโll let you punch that final hole, you have to click the โexpandโ button on the original set of paths to fully merge them before itโll allow you to punch through. i tested this on a couple other shapes too and it seems to be the rule Hell yeah! I was messing with this for like 30 minutes before I got it to work. You're a life saver!
• #### kerry

Jana suggestion worked perfectly. I still don't even know what expanding is, but sounds like if I can avoid it at this stage, it's a good thing : )
• #### Nanda Scott

Dude, there's something you're doing here that you're not telling anyone else. I can't replicate each image because something you did is missing here. I can't get the same image because when I click Swap Fill and Stroke like you said it doesn't show me the overlapping lines. I'm completely lost on this because I don't know what you're doing, please help me!
• #### Haidang

I really like this tutorial! thanks a lot !
• #### Katherine

What am I doing wrong? When I try to use pathfinder on my circles, it tells me that Pathfinder effects should usually be applied to groups, layers, or type objects, and that it may not have any effect on the current selection. ...?
• #### oldmantgvnexpress24.com

hihi, tรดi rแบฅt thรญch cรกc bร i viแบฟt cแปงa trang nร y.
• #### Lenore

Tx so much nicxf, that's exactly what I needed for my last punch!
• #### jana

to nicxt: I found another trick for CS4 (maybe it works for CS5 as well). You donยดt have to click expand, before punching the hole. Just keep your shapes in stroke, instead of fill, add the hole, select all shapes and Alt click on Substract (Minus). Fill the shape and you have it. This way you can still move and change each separate shape.
• #### nicxf

using illustrator CS5 I found a couple of slight differences to the tutorial (which was excellent and I'm really enjoying them so far) 1. As mentioned above, you need to hold down alt/option key to make the paths remain inidivually editable when you're merging them; 2. Before it'll let you punch that final hole, you have to click the 'expand' button on the original set of paths to fully merge them before it'll allow you to punch through. i tested this on a couple other shapes too and it seems to be the rule.
• #### MichaelVab-workouts-to-look-hot.com

DAY9: The title of this lesson scared me a little - Compound Paths - but it wasn't as bad as I first thought. Although, some of the finer points ARE a bit tricky - and not being totally au fait with many of the commands (yet) I find I have to go over it many times until it sort of works. Hopefully things will get easier as I become more proficient and more aware of all the common tasks. The terminology is one thing I AM having a bit of a struggle with. For example: 'Swap the Fill and Stroke for the object' and 'go into isolation mode' and 'swap it back to black fill' and 'minus back' (in the cheat sheet - which I got totally lost in BTW). Day10 beckons....
• #### Paopipaopi.tumblr.com

Thank you for this series :) However, like the other CS4 users, I couldn't move the objects, even after using alt/option key. Any other way that we can try, perhaps? :)
• #### j0hnb0y

Hi, Thanks very much for the tuts....this lesson took me a bit of time to get my head around but I got there in the end !!! Cant wait for the next one Regards Johnboy
• #### abdullahno

thank.s great site
• #### AziFwww.azifaudio.com.ar

Dear: I Try : "You can still make changes to the compound path at this stage. Try moving the top circle below to see how it works. To do this, double click with the Selection Tool to go into isolation mode to move the individual shapes." Into Illustrator CS4 but don't works? You can help me! Best Regards!
• #### MbalaVectorDiary

Perfect!! I got the flow. Illustrator is my thing!! Thanks alot for the lesson
• #### Natrak

I got CS4 and moving circles inside the compound doesn't work for me as well.
• #### Johnni

# Duke December 26th, 2008 READ HIS POST ! It adds the extra, that the tut missing. Very usefull. Thx Duke
• #### Tony Sohwww.vectordiary.com

Subtract always take the top level object and subtract away the object that is directly below. In this case it will be the circle in the 2nd level instead of the bottom circle.
• #### damian

if i place a new circle on an existing circle an try to subtract, it subtracts the wrong circle, not the little one , but one of the three big circles. Can someone explain this to me?
• #### aurorasogna

I've CS4 but also with Alt/Option it doesn't work. Any idea??
• #### Jennifer

Another excellent lesson. This is enjoyable and so easy to understand. Thanks again for being so generous and sharing your knowledge!
• #### Reginald Raju

me neva used ol dose compound and pathfinder effects... its amazing.. me used to draw ol dose shape.. buh its easier to use pathfinder..
• #### Devin

I'm almost an expert at photoshop, but trying to go from Photoshop, to Illustrator, is a DAUNTING task. Thanks for this tutorial! Its insanely helpful, and I'm starting to get the hang of this! :D Thanks!

oh, thanks!
• #### Vectordiarywww.vectordiary.com

For CS4, it is different. Compound Paths get expanded on default. Hence, you will need to press Alt/Option before you click the Pathfinder effects to make it editable.

I dont understand the moving of the circles, it doesnt move for me, it moves the whole key not the circle. i'm using cs4, would that change how it at all?

hi

very good
• #### lj

What a great site. Thank you
• #### Ethienne

Love you guys!! you helped me a lot ;)
• #### Tissaka Senarath

Again.. great tutorial.. thank you so much!!! very easy to understand
• #### Duke

To those who have trouble - You must hold down the alt/option key while clicking the "add to shape / unite" button in the pathfinder window. This way, you'll be able to move each circle independently in isolation mode. Try it this way. Draw 3 random circles with the ellipse tool, all overlapping eachother like the key. If you click the unite button in the pathfinder window, they'll all now be one object and move together as one object, even in isolation mode. BUT, if you click the unite button while holding down alt/option, now they'll be separate objects in isolation mode.
• #### Dwight

Just wanted to drop you a note on Compound Path lesson: Creating an Ancient Key. I found it very enlightening, and as a matter of fact; since Iv'e been visiting your site (less than two weeks), working in Illustrator has become less of a chore. Thanks for all your instruction. Dwight
• #### Rodolfo

That was a really good tutorial!! you make it so easy to learn!! thanks a lot!!
• #### emily

i think i got it! thanks!
• #### Leroy Simpson

Another good lesson, Jah rasta
• #### Britt Malkawww.catmaze.com

Swap the Fill and Stroke ... after I've found it, it only made some of my key black. Besides, why should I keep down Alt/Option to draw the second cirkle? Give up for now :-( Too many things I do not understand.
• #### iStockdiarywww.istockdiary.com

Hi Heidi, try to double click with the Selection Tool to go into isolation mode to move the individual shapes.
• #### Heidi

I can't seem to manipulate the individual circle after using Add to shape. The entire compound path is moving altogether. What did I miss?
• #### Sean

Thank you! It worked this time. On to the next lesson =D
• #### ivan

to show grid it's not "window>show" grid it's "view>show grid"