1
00:00:00.05 --> 00:00:02.02
- [Voiceover] In this
movie, I'll show you how

2
00:00:02.02 --> 00:00:04.02
to distribute selected
objects so that there's

3
00:00:04.02 --> 00:00:06.00
a specific amount of room between

4
00:00:06.00 --> 00:00:08.04
each object and its neighbors.

5
00:00:08.04 --> 00:00:11.04
And so you can see here in the
final version of the artwork

6
00:00:11.04 --> 00:00:14.06
that we have an even
amount of space between

7
00:00:14.06 --> 00:00:18.01
each one of our squares as
opposed to having them all

8
00:00:18.01 --> 00:00:21.09
absolutely adjacent to
each other as they are now.

9
00:00:21.09 --> 00:00:24.06
And that spacing is absolutely even

10
00:00:24.06 --> 00:00:26.06
up here at the top of the first row,

11
00:00:26.06 --> 00:00:28.05
between each one of the rows,

12
00:00:28.05 --> 00:00:30.09
and down here at the bottom as well.

13
00:00:30.09 --> 00:00:32.06
So in other words, we have a total of

14
00:00:32.06 --> 00:00:35.08
one, two, three, four, five gaps

15
00:00:35.08 --> 00:00:37.07
that we need to bear in mind.

16
00:00:37.07 --> 00:00:39.05
Alright, so I'll go ahead and switch over

17
00:00:39.05 --> 00:00:41.01
to my document in progress.

18
00:00:41.01 --> 00:00:44.08
You may recall that I made
my artboard 100 points bigger

19
00:00:44.08 --> 00:00:48.06
than it was before and so,
if you take 100 and divide it

20
00:00:48.06 --> 00:00:51.03
by those five gaps,
then you can anticipate

21
00:00:51.03 --> 00:00:54.05
that each of the gaps
is gonna be 20 points.

22
00:00:54.05 --> 00:00:56.04
And so I'm gonna start things off by

23
00:00:56.04 --> 00:00:58.06
selecting all these squares which I can do

24
00:00:58.06 --> 00:01:00.08
by going up to the Select menu and choose,

25
00:01:00.08 --> 00:01:03.01
"All on Active Artboard" where you have

26
00:01:03.01 --> 00:01:05.05
that keyboard shortcut of Ctrl-Alt-A,

27
00:01:05.05 --> 00:01:08.01
or Command-Option-A on a Mac.

28
00:01:08.01 --> 00:01:10.02
And then, I'll just go ahead and drag

29
00:01:10.02 --> 00:01:14.00
this top left anchor point
until it snaps into alignment

30
00:01:14.00 --> 00:01:16.09
with the top right corner of the artboard.

31
00:01:16.09 --> 00:01:19.03
But, for whatever
reason, if I zoom in here

32
00:01:19.03 --> 00:01:21.06
you can see that that didn't quite work.

33
00:01:21.06 --> 00:01:24.09
If that happens to you, then
the most rock solid solution

34
00:01:24.09 --> 00:01:28.01
is to bring up the Transform
Panel by clicking on the word,

35
00:01:28.01 --> 00:01:31.03
"Transform" on the right
side of the Control Panel.

36
00:01:31.03 --> 00:01:33.04
Then, select this top point in the

37
00:01:33.04 --> 00:01:37.02
small reference point matrix
and notice your x and y values.

38
00:01:37.02 --> 00:01:39.06
In my case, the x value is zero points.

39
00:01:39.06 --> 00:01:41.07
That's with respect to
the artboard by the way,

40
00:01:41.07 --> 00:01:45.04
which is perfect, however,
my y value is 2.827,

41
00:01:45.04 --> 00:01:49.01
for whatever reason, so I'll
just change it to zero as well.

42
00:01:49.01 --> 00:01:51.06
And then just press the Tab
key, and that goes ahead

43
00:01:51.06 --> 00:01:55.03
and moves the square into
exactly the proper location.

44
00:01:55.03 --> 00:01:57.09
Now you may wonder, "Well,
why didn't I just go ahead

45
00:01:57.09 --> 00:02:01.02
"and use my Alignment functions
right here, in order to

46
00:02:01.02 --> 00:02:05.02
"for example, switch this align
icon to align to artboard,

47
00:02:05.02 --> 00:02:08.07
"and then I could click
on Vertical Align Top?"

48
00:02:08.07 --> 00:02:10.03
The problem is that's gonna move

49
00:02:10.03 --> 00:02:11.09
all those objects independently

50
00:02:11.09 --> 00:02:15.01
with the exception of the
group objects in the center.

51
00:02:15.01 --> 00:02:16.09
So I figured just dragging the objects

52
00:02:16.09 --> 00:02:18.04
was the better solution.

53
00:02:18.04 --> 00:02:20.02
Alright, I'll go ahead and press Ctrl-Z,

54
00:02:20.02 --> 00:02:22.08
or Command-Z on a Mac, to undo that move.

55
00:02:22.08 --> 00:02:25.01
And now what we need to
do is scoot the squares

56
00:02:25.01 --> 00:02:28.00
20 points down and 20 points to the right.

57
00:02:28.00 --> 00:02:30.03
And so, with my black arrow tool selected,

58
00:02:30.03 --> 00:02:32.01
I'll just go ahead and
press the Enter key,

59
00:02:32.01 --> 00:02:34.00
or the Return key on
a Mac, and I'll change

60
00:02:34.00 --> 00:02:37.01
both the horizontal and
vertical values to 20 points,

61
00:02:37.01 --> 00:02:39.05
and I'll turn on the Preview checkbox.

62
00:02:39.05 --> 00:02:41.03
At which point, we'll see these guys scoot

63
00:02:41.03 --> 00:02:43.00
into the proper locations.

64
00:02:43.00 --> 00:02:44.07
Alright, I'll go ahead and click OK

65
00:02:44.07 --> 00:02:46.04
in order to accept that change.

66
00:02:46.04 --> 00:02:47.06
Now if you're really on the ball,

67
00:02:47.06 --> 00:02:50.02
you could tell me that I
wasted a little time there.

68
00:02:50.02 --> 00:02:52.01
That wasn't the most efficient approach

69
00:02:52.01 --> 00:02:53.08
because after all, we were just looking

70
00:02:53.08 --> 00:02:56.02
at the Transform Panel and
I could've just changed

71
00:02:56.02 --> 00:02:59.00
the x and y values to 20 points.

72
00:02:59.00 --> 00:03:02.01
In which case, good for
you for noticing that.

73
00:03:02.01 --> 00:03:04.09
Alright, now what I wanna
do is distribute these guys

74
00:03:04.09 --> 00:03:07.09
by a specific increment and I can do that

75
00:03:07.09 --> 00:03:11.01
by bringing up the Full Align Panel.

76
00:03:11.01 --> 00:03:13.04
And to make that happen,
go to the Window menu,

77
00:03:13.04 --> 00:03:16.01
and choose the Align command,
which appears in my case,

78
00:03:16.01 --> 00:03:18.08
over here on the right
hand side of the screen.

79
00:03:18.08 --> 00:03:21.04
And notice that we're
seeing the six Align icons,

80
00:03:21.04 --> 00:03:23.06
along with the six Distribute icons.

81
00:03:23.06 --> 00:03:25.06
If you're not seeing anything more,

82
00:03:25.06 --> 00:03:27.09
then you need to click
on this double arrowhead

83
00:03:27.09 --> 00:03:29.07
right next to the word, "Align,"

84
00:03:29.07 --> 00:03:32.05
and that'll bring up the
Distribute Spacing option.

85
00:03:32.05 --> 00:03:35.01
Notice, however, that
it's currently dimmed.

86
00:03:35.01 --> 00:03:37.01
And that's because to make it available,

87
00:03:37.01 --> 00:03:39.01
you have to select a key object.

88
00:03:39.01 --> 00:03:42.00
And so I'll just go ahead and
click on this top left square

89
00:03:42.00 --> 00:03:44.06
in order to make it the key
object because after all,

90
00:03:44.06 --> 00:03:47.01
it's the only one that's
in the proper position.

91
00:03:47.01 --> 00:03:48.05
And now, as you can see,

92
00:03:48.05 --> 00:03:50.09
Distribute Spacing is available to me.

93
00:03:50.09 --> 00:03:52.07
I'll go ahead and change this value here

94
00:03:52.07 --> 00:03:55.08
to 20 points because
that's the size of the gap.

95
00:03:55.08 --> 00:03:58.08
And then, I'll click
Horizontal Distribute Space.

96
00:03:58.08 --> 00:04:02.01
And that's gonna make an
absolute disaster of things,

97
00:04:02.01 --> 00:04:03.02
as you can see.

98
00:04:03.02 --> 00:04:05.02
I'll go ahead and zoom out here.

99
00:04:05.02 --> 00:04:07.02
And the reason that this is happening

100
00:04:07.02 --> 00:04:09.02
is because Illustrator's distributing

101
00:04:09.02 --> 00:04:11.05
every single one of the squares

102
00:04:11.05 --> 00:04:14.00
20 points away from its neighbor

103
00:04:14.00 --> 00:04:16.00
except for those four in the center.

104
00:04:16.00 --> 00:04:17.08
And that's because
they're grouped together.

105
00:04:17.08 --> 00:04:20.09
What we need to do if first,
group our squares into columns.

106
00:04:20.09 --> 00:04:23.04
And I'm gonna do that by zooming back in

107
00:04:23.04 --> 00:04:25.09
and of course, undo this mess.

108
00:04:25.09 --> 00:04:27.04
And, in order to make things work,

109
00:04:27.04 --> 00:04:30.04
I'm gonna have to ungroup these
four squares in the center.

110
00:04:30.04 --> 00:04:31.09
That doesn't mean you have to select them

111
00:04:31.09 --> 00:04:33.09
independently of the
other ones, by the way.

112
00:04:33.09 --> 00:04:35.05
You can go up to the Object menu

113
00:04:35.05 --> 00:04:37.03
and choose the Ungroup command,

114
00:04:37.03 --> 00:04:40.04
or press Ctrl-Shift-G, or
Command-Shift-G on the Mac.

115
00:04:40.04 --> 00:04:43.07
And that will ungroup any
groups inside the selection.

116
00:04:43.07 --> 00:04:45.09
And so, I'll go ahead
and choose that command.

117
00:04:45.09 --> 00:04:48.05
At which point, I can now
see the word, "Rectangle,"

118
00:04:48.05 --> 00:04:51.00
over here on the far side
of the Control Panel,

119
00:04:51.00 --> 00:04:53.09
and that tells me that I
no longer have any groups.

120
00:04:53.09 --> 00:04:56.02
Because previously, it would have appeared

121
00:04:56.02 --> 00:04:57.08
as, "Mixed Objects."

122
00:04:57.08 --> 00:05:00.02
Alright, now I'm gonna
marquee these four objects

123
00:05:00.02 --> 00:05:02.04
in the first row and I'll press Ctrl-G,

124
00:05:02.04 --> 00:05:04.06
or Command-G on a Mac, to group them.

125
00:05:04.06 --> 00:05:06.05
And then I'll marquee this next column,

126
00:05:06.05 --> 00:05:10.01
press Ctrl-G, the third
column, press Ctrl-G,

127
00:05:10.01 --> 00:05:13.03
and the fourth one, and then press Ctrl-G,

128
00:05:13.03 --> 00:05:16.01
and of course, that's
Command-G on the Mac.

129
00:05:16.01 --> 00:05:19.00
Alright now, if I press Ctrl-A,
or Command-A on the Mac,

130
00:05:19.00 --> 00:05:21.02
to select everything and by the way,

131
00:05:21.02 --> 00:05:23.05
that is the wrong keyboard shortcut

132
00:05:23.05 --> 00:05:25.03
because I selected all these letters

133
00:05:25.03 --> 00:05:26.09
on the second artboard as well.

134
00:05:26.09 --> 00:05:29.07
Don't want that, so what
I need to do instead,

135
00:05:29.07 --> 00:05:31.08
is go the Select menu and choose,

136
00:05:31.08 --> 00:05:35.03
"All on Active Artboard,"
or press Ctrl-Alt-A,

137
00:05:35.03 --> 00:05:37.08
or Command-Option-A on the Mac.

138
00:05:37.08 --> 00:05:39.06
Alright, now notice once again,

139
00:05:39.06 --> 00:05:41.05
"Distribute Spacing" is dimmed.

140
00:05:41.05 --> 00:05:44.05
And so what I need to do
is establish a key object

141
00:05:44.05 --> 00:05:47.03
by clicking on that top left square

142
00:05:47.03 --> 00:05:50.02
which is gonna select
the entire first group.

143
00:05:50.02 --> 00:05:53.01
And then, if I click
Horizontal Distribute Space,

144
00:05:53.01 --> 00:05:56.00
I end up getting the exact
effect I'm looking for.

145
00:05:56.00 --> 00:05:57.04
Alright now, we're gonna wanna

146
00:05:57.04 --> 00:05:59.01
vertically distribute the space,

147
00:05:59.01 --> 00:06:01.07
but that means first grouping
the squares into rows.

148
00:06:01.07 --> 00:06:04.03
So, I'll start off by
going up to the Object menu

149
00:06:04.03 --> 00:06:05.08
and choosing, "Ungroup."

150
00:06:05.08 --> 00:06:07.05
And that's going to ungroup all

151
00:06:07.05 --> 00:06:09.03
four of the groups, by the way.

152
00:06:09.03 --> 00:06:11.04
Then, I'll marquee these top squares,

153
00:06:11.04 --> 00:06:13.08
press Ctrl-G or Command-G to group them,

154
00:06:13.08 --> 00:06:15.07
the next row, group them,

155
00:06:15.07 --> 00:06:17.05
the third row, group them,

156
00:06:17.05 --> 00:06:20.05
and finally the fourth
row, followed by Ctrl-G,

157
00:06:20.05 --> 00:06:23.00
or Command-G on the Mac, to group them.

158
00:06:23.00 --> 00:06:25.06
Alright, now I'll just go
ahead and marquee these guys

159
00:06:25.06 --> 00:06:27.09
instead of selecting
everything on the artboard.

160
00:06:27.09 --> 00:06:30.03
And now, notice again
this object is dimmed

161
00:06:30.03 --> 00:06:32.03
because we don't have a key object.

162
00:06:32.03 --> 00:06:34.07
And in case that doesn't make
sense, just think about it.

163
00:06:34.07 --> 00:06:37.02
You have to tell Illustrator
which of these rows

164
00:06:37.02 --> 00:06:39.07
is supposed to be fixed
in place so it knows

165
00:06:39.07 --> 00:06:42.07
that other rows are the
ones that are getting moved.

166
00:06:42.07 --> 00:06:45.09
Now, notice we have this
"Align to" option right there

167
00:06:45.09 --> 00:06:48.07
and you can switch it to
"Align to Key Object."

168
00:06:48.07 --> 00:06:50.08
In which case, Illustrator's
going to randomly

169
00:06:50.08 --> 00:06:52.07
select a key object for you.

170
00:06:52.07 --> 00:06:54.06
That's not the row I want, however.

171
00:06:54.06 --> 00:06:56.04
So I'll just click on the top row

172
00:06:56.04 --> 00:06:58.09
which will both deactivate the bottom row

173
00:06:58.09 --> 00:07:02.06
and set the top row as a key
object, as your're seeing now.

174
00:07:02.06 --> 00:07:05.00
After which point, go ahead and click on

175
00:07:05.00 --> 00:07:08.01
"Vertical Distribute Space"
in order to move those rows

176
00:07:08.01 --> 00:07:10.08
so that they're exactly 20 points apart.

177
00:07:10.08 --> 00:07:12.05
After which point, I'll just go ahead

178
00:07:12.05 --> 00:07:15.04
and click off the
objects to deselect them.

179
00:07:15.04 --> 00:07:17.08
And that's how you distribute
selected objects by a specific

180
00:07:17.08 --> 00:07:21.00
amount of space using the
Distribute Spacing options

181
00:07:21.00 --> 00:07:24.01
down here at the bottom
of the Align panel.

