WEBVTT

1
00:00:00.010 --> 00:00:03.500
The timeline is how you view all the frames in your scene.

2
00:00:03.500 --> 00:00:07.000
It provides simple tools for navigating the frames of your animation.

3
00:00:07.000 --> 00:00:11.500
Let's talk about the fundamentals of the timeline editor in Blender.

4
00:00:11.500 --> 00:00:14.500
To showcase exactly what the timeline does,

5
00:00:14.500 --> 00:00:19.000
let's try to make a quick, bouncing ball animation with our cube here.

6
00:00:19.000 --> 00:00:21.500
Except instead of a cube, let's use a ball.

7
00:00:21.500 --> 00:00:27.000
To do that, we can simply subdivide our cube by holding CTRL and pressing 2 on the number row.

8
00:00:27.000 --> 00:00:30.500
I'm also going to right-click the sphere and select Shade Smooth.

9
00:00:30.500 --> 00:00:33.500
Wonderful! Now let's get animating.

10
00:00:33.500 --> 00:00:37.500
You can animate very quickly by clicking this white circle record button,

11
00:00:37.500 --> 00:00:40.000
which turns on Auto Keyframe mode.

12
00:00:40.000 --> 00:00:42.500
We can then transform our ball freely.

13
00:00:42.500 --> 00:00:46.500
Since we're doing a bouncing animation, let's go ahead and start it a little higher,

14
00:00:46.500 --> 00:00:49.500
so we'll move it along the Z-axis.

15
00:00:49.500 --> 00:00:54.000
As you can see, this creates a keyframe at our current frame.

16
00:00:54.000 --> 00:01:00.500
Now, in order to create an animation, we'll want to insert another keyframe for the ball to interpolate to.

17
00:01:00.500 --> 00:01:06.000
But creating another keyframe on the current frame simply overwrites our first keyframe.

18
00:01:06.000 --> 00:01:10.000
So we'll want to move our current frame to a later frame in the timeline.

19
00:01:10.000 --> 00:01:11.500
How do we do that?

20
00:01:11.500 --> 00:01:16.000
Well, to go to a specific frame, you can change your current frame manually here.

21
00:01:16.000 --> 00:01:18.500
But there are a few more options.

22
00:01:18.500 --> 00:01:23.000
We can also left-click drag the top bar of the timeline, where the frame numbers are labeled,

23
00:01:23.000 --> 00:01:28.000
to scrub through to a specific frame, or hold Alt and use the scroll wheel.

24
00:01:28.000 --> 00:01:32.000
For fine-tuning, you can also press the left and right arrow keys.

25
00:01:32.000 --> 00:01:39.500
Now with this, we can move our current frame to frame 10, and move our ball again to insert another keyframe.

26
00:01:39.500 --> 00:01:41.500
But where should we move our ball?

27
00:01:41.500 --> 00:01:46.500
Well, we're trying to make it bounce, so let's bring it back to the ground for this frame.

28
00:01:46.500 --> 00:01:51.000
We can do this very quickly by pressing Alt G to bring it back to the origin,

29
00:01:51.000 --> 00:01:55.000
and then move it up a bit just so it's above the grid.

30
00:01:55.000 --> 00:02:00.500
Great, as you can see, we have automatically inserted a new keyframe on frame 10 as well.

31
00:02:00.500 --> 00:02:05.500
Since we have two keyframes now, in theory our ball should now be animated.

32
00:02:05.500 --> 00:02:10.000
And at this point, you might be interested to see exactly what that animation looks like.

33
00:02:10.000 --> 00:02:16.000
To play an animation, simply press Space Bar, or click the play icon button at the top.

34
00:02:16.000 --> 00:02:19.500
But you'll notice you don't see any movement when you play the animation.

35
00:02:19.500 --> 00:02:23.500
That's because the play button starts playing your animation from your current frame.

36
00:02:23.500 --> 00:02:26.000
And our animation starts at the beginning.

37
00:02:26.000 --> 00:02:33.000
However, once your current frame reaches the end frame, your playback will loop back to the start frame and continue playing.

38
00:02:33.000 --> 00:02:36.500
Hey, there we go! We got a basic downwards motion.

39
00:02:36.500 --> 00:02:42.000
But I really don't like waiting that long to see it loop, so let's adjust the loop region.

40
00:02:42.000 --> 00:02:48.000
To do that, we can edit our start and end frames of our playback range on the right of the timeline here.

41
00:02:48.000 --> 00:02:54.000
This playback range is marked by the dark gray regions before and after the start and end frames respectively.

42
00:02:54.000 --> 00:02:57.500
Let's bring our end frame down to frame 40.

43
00:02:57.500 --> 00:03:04.500
This makes our loop region appear a bit too small, but we can actually zoom in on our timeline with the scroll wheel.

44
00:03:04.500 --> 00:03:09.500
You can also press Home, or click View, View All.

45
00:03:09.500 --> 00:03:16.500
If you need to also pan your timeline, simply middle-click drag or hold Ctrl and use your scroll wheel.

46
00:03:16.500 --> 00:03:19.000
Nice, now we can continue animating.

47
00:03:19.000 --> 00:03:24.000
Real quick, let's add two more keyframes to finish our bounce animation.

48
00:03:24.000 --> 00:03:29.500
I'm going to add a keyframe on frame 15, where the ball bounces up just slightly.

49
00:03:29.500 --> 00:03:34.500
This is going to be like a really heavy bowling ball or something, so it won't bounce very high.

50
00:03:34.500 --> 00:03:39.500
Then, on frame 20, we'll simply want the ball to be on the ground again.

51
00:03:39.500 --> 00:03:42.000
We can insert a new keyframe and try to eyeball it.

52
00:03:42.000 --> 00:03:46.000
However, that's not really efficient, doing the same pose twice manually.

53
00:03:46.500 --> 00:03:50.000
Okay, so let's delete that frame 20 keyframe real quick.

54
00:03:50.000 --> 00:03:55.500
To delete keyframes, simply select them, right-click for a context menu, and select Delete Keyframes.

55
00:03:55.500 --> 00:03:59.500
You can also simply press X, or the Delete key.

56
00:03:59.500 --> 00:04:06.500
So, what we want to do is copy the keyframe from frame 10, where we already have the ball on the ground.

57
00:04:06.500 --> 00:04:08.500
Luckily, that's really easy.

58
00:04:08.500 --> 00:04:13.000
We can simply duplicate the keyframe on frame 10 and drag it over to frame 20.

59
00:04:13.000 --> 00:04:19.500
To do this, you can simply select the keyframe we want to copy, right-click for a context menu, and select Duplicate.

60
00:04:19.500 --> 00:04:24.500
Then, move the duplicated keyframe to frame 20, and left-click to confirm.

61
00:04:24.500 --> 00:04:29.000
For hotkey users, you can press Shift-D, as in duplicate.

62
00:04:29.000 --> 00:04:33.500
Let's play back our animation again to see our masterpiece.

63
00:04:33.500 --> 00:04:39.500
Well, it's got the right poses, but it isn't really bouncing, but rather just moving up and down.

64
00:04:39.500 --> 00:04:41.500
How do we fix this?

65
00:04:41.500 --> 00:04:48.000
Well, by default, Blender interpolates the keyframe poses with a sort of smooth ease in and out motion,

66
00:04:48.000 --> 00:04:52.000
slowly transitioning the velocity of the object between poses.

67
00:04:52.000 --> 00:04:56.000
This is usually great, but for us it's working against our goals.

68
00:04:56.000 --> 00:05:03.000
Luckily, Blender allows us to change different aspects of the interpolation curve to fix issues like this very easily.

69
00:05:03.000 --> 00:05:09.500
To make the bounces appear sharper and more sudden, we can simply select the frames at 10 and 20,

70
00:05:09.500 --> 00:05:15.500
the frames where they bounce off the ground, and change the handle type from our right-click context menu.

71
00:05:15.500 --> 00:05:21.500
What is handle type? We'll go over handle types in more detail in the Graph Editor and Dope Sheet videos.

72
00:05:21.500 --> 00:05:27.000
However, just know that if we select Vector, our curves for the bounce should be fixed.

73
00:05:27.000 --> 00:05:33.000
For hotkey users, you can also press V, as in Vector, to bring up the handle type menu.

74
00:05:33.000 --> 00:05:37.500
And, as you can see, we now have a bouncy bouncing ball.

75
00:05:37.500 --> 00:05:43.000
And congratulations, you've made a quick bouncing ball animation in Blender!

76
00:05:43.000 --> 00:05:50.500
Ah, but what if we wanted to slow it down a bit? Let's pretend it's going in slow motion, for example.

77
00:05:50.500 --> 00:05:55.500
Luckily, with our timeline's basic keyframe manipulation features, that's easy.

78
00:05:55.500 --> 00:05:59.500
Simply select all the keyframes in your timeline by pressing A.

79
00:05:59.500 --> 00:06:07.000
Then, you can bring your current frame back to the beginning and hit S to scale your keyframes outwards from your current frame.

80
00:06:07.000 --> 00:06:12.500
As you can see, our keyframes are being spaced out more and more as we drag our cursor.

81
00:06:12.500 --> 00:06:20.000
We can also type a number during this process to specify an amount to scale by, so I'm going to type the number 2 and press Enter.

82
00:06:20.000 --> 00:06:23.000
This will double the scale of our keyframes.

83
00:06:23.000 --> 00:06:30.500
This means that our keyframes will be twice as far away from each other, and thus the animation will take twice as long and be twice as slow.

84
00:06:31.000 --> 00:06:35.000
Okay, great! Now let's say we want to render it out.

85
00:06:35.000 --> 00:06:37.500
Remember the start and end frames we set earlier?

86
00:06:37.500 --> 00:06:43.000
This is also the range of frames marked for render output, meaning that when you press Render Animation,

87
00:06:43.000 --> 00:06:49.000
it will begin calculating with the start frame of your playback range, then render each frame after that one by one,

88
00:06:49.000 --> 00:06:53.000
and stop after it finishes calculating the end frame.

89
00:06:53.000 --> 00:07:00.000
But it also means that we can't easily animate outside of this playback range in case we wanted to edit or insert keyframes.

90
00:07:00.500 --> 00:07:05.500
So let's say we wanted to only render the first 12 frames of our bouncing ball animation,

91
00:07:05.500 --> 00:07:11.500
but we also want to animate some keyframes a little bit outside of our render range to adjust our animation.

92
00:07:11.500 --> 00:07:19.000
It'd be a hassle to keep the range wide for animation, but then change the frame range manually every time we want to render.

93
00:07:19.000 --> 00:07:23.500
So for situations like this, there is this stopwatch button.

94
00:07:23.500 --> 00:07:29.000
This will switch between using the render range and the preview range for viewport playback.

95
00:07:29.000 --> 00:07:32.000
What's the preview range? Well, let's find out.

96
00:07:32.000 --> 00:07:40.500
Toggling the preview range on by clicking this stopwatch button will use dark orange to indicate the start and end of the preview playback range.

97
00:07:40.500 --> 00:07:47.500
While this is toggled on, the render range will still be visible with the dark gray borders and will still be used for render output,

98
00:07:47.500 --> 00:07:50.500
but will be ignored on playback and viewport renders.

99
00:07:50.500 --> 00:07:57.500
Now we can safely animate before and after the render range, but keep our render output range the same.

100
00:07:58.000 --> 00:08:03.000
So we've gone over the basic timeline features that are required to create an animation.

101
00:08:03.000 --> 00:08:08.500
But let's say I'm making an animation and I want to mark a specific frame for timing purposes.

102
00:08:08.500 --> 00:08:13.000
For example, I might want to add an explosion at frame 25.

103
00:08:13.000 --> 00:08:18.000
Adding markers is a very helpful tool for animators for this exact purpose.

104
00:08:18.000 --> 00:08:24.500
To create a marker, simply go to the marker menu at the top of the timeline and select Add Marker.

105
00:08:24.500 --> 00:08:30.000
For hotkey users, simply press M as in marker with your cursor anywhere over the timeline.

106
00:08:30.000 --> 00:08:38.000
As you can see, a small triangle in a vertical line gets created at your current frame to mark that frame for later.

107
00:08:38.000 --> 00:08:46.000
You can rename this marker at any time by selecting it, going back into the same marker menu, and selecting Rename Marker.

108
00:08:46.000 --> 00:08:53.000
Then type the name you want, let's call this one Explosion 01, and press Enter twice.

109
00:08:53.000 --> 00:09:01.500
For hotkey users, you can press Ctrl M as in marker, but you have to have your cursor hovered over the dark area below.

110
00:09:01.500 --> 00:09:08.500
Now, some of you may be wondering why our timeline has been so dark since we added that marker.

111
00:09:08.500 --> 00:09:14.500
That's simply because adding markers adds a semi-transparent dark gray section at the bottom of our timeline

112
00:09:14.500 --> 00:09:19.000
that allows us to select and transform markers separately from keyframes.

113
00:09:19.000 --> 00:09:26.500
If this area is taking up too much room, visually, simply expand your timeline just a little to see your timeline range more clearly again

114
00:09:26.500 --> 00:09:30.500
by dragging the top border of the timeline editor panel.

115
00:09:30.500 --> 00:09:34.500
Alright, now let's create a few more markers for our reference.

116
00:09:34.500 --> 00:09:37.500
Let's say here is where I want another explosion.

117
00:09:37.500 --> 00:09:43.500
Okay, let's press M to create the marker and Ctrl M to rename it.

118
00:09:43.500 --> 00:09:47.000
We'll call this one Explosion 02.

119
00:09:47.000 --> 00:09:52.500
But actually, I don't think it's the right timing, so I want to move my marker to a different frame.

120
00:09:52.500 --> 00:09:55.500
Simply left-click drag to move it around.

121
00:09:55.500 --> 00:10:03.500
For hotkey users, you can also press G as in grab, as long as you're within the dark gray marker region in the lower half of the timeline.

122
00:10:03.500 --> 00:10:08.500
Another way to create more markers quickly is to simply duplicate them and move them around.

123
00:10:08.500 --> 00:10:13.500
You can duplicate markers by going to the marker menu and selecting Duplicate Marker.

124
00:10:14.000 --> 00:10:21.000
For hotkey users, simply press Shift D and, as usual, right-click to cancel or left-click to confirm.

125
00:10:21.000 --> 00:10:31.000
And to delete markers, simply select them and press the Delete key, the X key, or go to the marker menu and select Delete Marker.

126
00:10:31.000 --> 00:10:35.000
That's great! We've got a lot of tools in the timeline to help us animate.

127
00:10:35.000 --> 00:10:41.000
Now, we're going to switch gears a bit and pretend that we're animating and the viewport starts to lag a bit.

128
00:10:41.500 --> 00:10:44.500
You might also see a red number here during playback.

129
00:10:44.500 --> 00:10:54.500
This red FPS number means that your current playback speed is less than the actual FPS, or frames per second, marked in your render settings.

130
00:10:54.500 --> 00:11:00.500
There will be cases like this where our scene is so heavy that our playback won't be able to keep up.

131
00:11:00.500 --> 00:11:10.500
This will mess up a lot of our timing and speed, as we might end up rendering and find out the actual playback FPS is much faster than what we've been animating with.

132
00:11:10.500 --> 00:11:14.000
Luckily, the timeline has an option that solves this as well.

133
00:11:14.000 --> 00:11:17.500
We can go to the Playback options on the left side of the timeline.

134
00:11:17.500 --> 00:11:22.000
Open this menu by left-clicking and go to the No Sync drop-down menu.

135
00:11:22.000 --> 00:11:28.000
By default, No Sync simply means that Blender is prioritizing displaying every frame in the viewport,

136
00:11:28.000 --> 00:11:32.000
instead of prioritizing playing the animation back in real time.

137
00:11:32.000 --> 00:11:40.000
This is typically good for seeing your whole animation without missing details, but not that great for timing purposes on heavy scenes.

138
00:11:41.000 --> 00:11:47.500
If you want your FPS and your playback speed to synchronize, even at the cost of dropping a few frames here and there,

139
00:11:47.500 --> 00:11:51.500
you'll want to change this from No Sync to Frame Dropping.

140
00:11:51.500 --> 00:11:57.500
Once you've done this, you'll notice that when you play your animation back, the viewport will still have a red FPS number,

141
00:11:57.500 --> 00:12:07.500
but it will be skipping frames now and then so that the position of your current frame matches where your current frame would be if your playback FPS was real time.

142
00:12:08.000 --> 00:12:14.500
If you're wondering what AV Sync is, it stands for Audio Visual Sync, and it's functionally very much the same.

143
00:12:14.500 --> 00:12:24.000
It also drops frames, but prioritizes synchronizing your viewport playback speed with your audio playback speed instead of your set FPS playback speed.

144
00:12:24.000 --> 00:12:31.000
Now, I know some of you will be curious about how to add audio to your playback, so I've included a Blitz tutorial, here we go!

145
00:12:31.000 --> 00:12:36.000
In order to add audio to your playback in the viewport, you'll have to use the Video Editor.

146
00:12:36.500 --> 00:12:40.500
Create a new workspace from the Video Editing category called Video Editing.

147
00:12:40.500 --> 00:12:48.500
We're going to want to add a sound or movie file, so simply navigate to the file in the File Browser Editor on the top left-hand panel.

148
00:12:48.500 --> 00:12:52.500
Then, left-click drag the file into your video sequencer.

149
00:12:52.500 --> 00:12:57.500
Move it around your timeline to where you want it to be by left-click dragging or pressing G like usual.

150
00:12:57.500 --> 00:13:03.500
And now, if you return to your layout workspace, during playback you should hear audio.

151
00:13:04.000 --> 00:13:12.000
Quick tips for the Video Editor, press K or go to the Strip menu and select Cut to cut your audio strip wherever your current frame is.

152
00:13:12.000 --> 00:13:18.000
Change volume of the audio here, and you can mute the audio in the timeline under the Playback options.

153
00:13:18.000 --> 00:13:24.000
I also recommend going into the View menu and turning on Waveform Displaying when working with audio files.

154
00:13:24.000 --> 00:13:28.000
And that's it for your quick How to Bring Audio in Blender tutorial.

155
00:13:28.500 --> 00:13:30.500
Now, back to the timeline.

156
00:13:30.500 --> 00:13:35.500
The Keying drop-down menu will give you options for how keyframes work in your timeline.

157
00:13:35.500 --> 00:13:41.000
Most of these settings are fine at their default values, but I'll mention a few things here.

158
00:13:41.000 --> 00:13:48.000
Your active keying set allows you to restrict what kind of channels receive keyframes when inserting a new keyframe.

159
00:13:48.000 --> 00:13:53.500
And the buttons on the right of your keying set are another way of inserting and deleting keyframes.

160
00:13:53.500 --> 00:13:57.500
Keyframe types we already went over in the keyframes video.

161
00:13:57.500 --> 00:14:01.000
They are essentially organizational labels for your keyframes.

162
00:14:01.000 --> 00:14:08.000
But changing your keyframe type here will simply change the default keyframe type for newly inserted keyframes.

163
00:14:08.000 --> 00:14:16.000
To change keyframe type of existing keyframes, simply select them, right-click for a context menu, and go to Keyframe Type to select one.

164
00:14:16.000 --> 00:14:22.000
The rest is pretty self-explanatory and hovering over each option will tell you a little bit more about what they do.

165
00:14:22.000 --> 00:14:27.500
I hope this gives you a good fundamental understanding of how to make animations using the timeline.

