- [Voiceover] Alright, now we're back to clipping masks,
and so in this movie I'm gonna show you how
to move objects into an existing mask.
So in other words, after you create the mask,
you can put more objects inside of it.
And we're gonna use this technique in order
to mask this guys face in the background
as well as all these helmet details in the foreground,
in order to create this final effect.
Alright so first I'm gonna show you yet another way
to create a clipping mask, just in case you're interested.
I'll start by twirling open this helmet layer right here,
and then I'm gonna scroll down the list
and I want you to notice these objects right here.
This guy, if I were to turn it off and turn it back on,
that's the dark shadow on the right hand side.
The next path outline down is a relatively brighter shadow
on the left hand side, and then below that
we have this light gray helmet.
I wanna put these two shadow paths inside
the light gray helmet, and I'm gonna do that by first moving
the thing that's going to become the Clipping Mask on top,
by dragging it here inside the layers panel.
So I'm just dragging it to the stop of the stack like so.
You don't wanna drag it all the way to the very top.
That variable item will come in handy later,
but for now just go ahead and move that guy there.
And then Shift + Click on the item that's gonna become
the Clipping Mask so that the mask and then
the two items that will go inside of it are all selected.
And then you wanna go up to the object menu,
choose Clipping Mask, and choose Make.
Or you've got a keyboard shortcut of Control + 7,
or Command + 7 on the Mac, and so
that's just another way to work.
And by the way, in case you're looking for any help
in memorizing this keyboard shortcut, because it is useful,
it's the number right before Compound Path shortcut,
which of course is Control + 8, or Command + 8 on the Mac.
And that one I think makes sense because an 8
is a Compound Path, it has two holes in it.
And so if you just remember Clipping Mask comes right before
it, that might be of some help.
Alright, anyway, I'm gonna go ahead and choose that command.
And that goes ahead and clips those shadows
as you can see here.
So they were all selected by the way, all three
of those paths were selected, and now
the shadows are clipped inside.
The problem is, when you work that way,
you lose the fill and stroke attributes associated
with the Clipping Mask.
And so to reinstate them, go up here to the Control Panel
on the far left side and notice these two options here.
One says Edit Clipping Path, the other says Edit Contents.
If you switch back and forth between them, notice I'll click
on Edit Contents in order to make the contents active,
and then I'll click on Edit Clipping Path, and that
will make that Clipping Path active.
And I can see that it has no fill or stroke,
at which point I'll click on the fill swatch,
and change it to this shade of gray.
The one in which the RGB Values are all 179
in order to reinstate that fill.
Alright now I'm gonna click off the path
to deselect it, and I want you to notice that not everything
is clipped that way it should be.
We've got some problems with the face and the background,
but in the foreground we have this line that crosses
the visor right here, which it shouldn't,
because that would mean the line is now on his face.
And we have this guy that dips down in front a little bit.
Then we have this pair of sort of crease lines
that are behind this line, the selected line,
so they need to move inside the Clipping Mask as well.
And so what I'm gonna do just to make
it easier select these items,
is turn off the helmet layer for a moment.
And then I'll just go ahead and marquee with
a black arrow tool across these path outlines like so.
So you just wanna make sure these two pairs
are selected as well as this guy,
this V-shaped line, and then this almost vertical line.
Alright now bring back the helmet, and notice
this purple square that represents the selection on
the Horn Etcetera layer, go ahead and drag it and drop it
onto the Clipping Mask which is this item right here.
And so as soon as you do you will move everything into
that Clipping Mask, and you can see that's the case
if I click off the artwork to deselect it.
So that's one way to work just drag the selection here
inside the layers panel, and drop it onto the Clipping Mask.
And incidentally, if I were to target this item right there,
you can see over here on the far left side of
the Control Panel, that it's actually called
a Clipping Group, and that's because a Clipping Group
includes the Clipping Mask which is actually doing
the clipping along with all of its contents.
Alright now I'm gonna hide that helmet layer once again,
just so that I can access the face.
And this time I'm gonna put this shadow into the face,
and then I'll move the eyes in as well.
And we'll do this using that Draw Inside mode
so that we don't lose the fill and stroke attributes.
So I'll go ahead and select this shadow.
I'll press Control + X, or Command + X on a Mac, to cut it
to the clip board, and then I'll click on this face shape
which obviously doesn't represent his entire face,
just the visible region there inside the helmet.
And then I'll switch to the two column tool box so that
I can see the Draw Inside icon down here at the bottom.
I'll go ahead and click on it,
and that'll give me these dotted boundaries in the corners.
Then I'll go up to the Edit menu and choose Paste in Place,
or you can press Control + Shift + V,
or Command + Shift + V on the Mac, in order to paste
that shadow into the face without losing
the fill and stroke attributes.
Alright now I'm gonna switch back to the Draw Normal mode,
so I can show you a way to move the eyes in.
So I'll go ahead and click on one of the eyes.
It's just a circle with a bunch of dynamic fills
and strokes, and then I'll shift click on the other eye
to select it as well, and I'll go ahead and once again
press Control + X, or Command + X on the Mac,
in order to cut those shapes to the clipboard.
Alright now this time around, rather than using
the Draw Inside mode, which does work by the way,
instead, I'll go ahead and grab the white arrow tool.
And now I'll just go ahead and click on that shadow path,
which is contained inside the face shape, and I'll go up
to the object menu and choose Paste in Front,
or press Control + F, or Command + F on the Mac,
in order to paste those guys in front of the shadow
and as a result, into the Clipping Mask.
Alright now I'm gonna scroll up my layers panel here
and bring back my helmet layer so that I can show you
a little problem you might run into.
If I press the V key to switch back to my black arrow tool
and I click on the helmet to select it.
Now let's say I wanna add a variable with stroke.
Well, I'll go ahead and switch back and forth
between these icons on the far left side
of the control panel, I'll click
Edit Contents, and then I'll click Edit Clipping Path
because otherwise all the paths are selected.
And now you can see there's my light gray fill.
I'm now gonna change the line weight
to two points let's say, and now I wanna add
a little bit of variable width by switching to
the Width tool, which in the two column tool box
is located below the Rotate tool.
I'll go ahead and select that guy, and let's say
I just wanna add a width point by double clicking somewhere
on the path outline and I'll change the total width value
to 12 just so that we can really
see something happen onscreen.
And notice that increases the line weight uniformly across
the entire path and that's because variable width strokes
are not compatible with Clipping Masks.
So what you have to do instead is, of course, cancel out
and then undo the addition of that stroke in
the first place, and I'll press the V-key
to switch back to my black arrow tool and I'll click off
the paths to deselect them and I'll show you
this variable path outline right there.
That is the Clipping Mask expressed as
an independent path outline, which then gives me
the ability to create this variable width stroke.
And you can see that it goes from being pretty thick
up here at the top, to very thin down here toward
the bottom near the walrus's tusks.
Alright there's just one problem remaining
and it's this edge to the helmet.
I'll go ahead and click on it to select it
and I'll press Control + X, or Command + X on the Mac
to cut it to the clipboard, and then I'll click on
the face to select it and I'll go up to the object menu
and choose Paste in Back or you can press Control + B
here on the PC, or Command + B on a Mac in order
to produce this effect right there.
And that, among other things, is how you move
additional objects into an existing Clipping Mask
long after you create it, either by dragging
a selection and dropping it onto an existing clipping group
here inside the layers panel, or by cutting and pasting via
the clipboard here inside Illustrator.