We can keyframe groups the same way we keyframe layers. The advantage of keyframing groups is that if we have a bunch of layers or objects that are related, we can keyframe just the group the layers are in rather than keyframe each layer individually. Let's take a look!
04_03
project in this chapter's exercises folder.In the following screenshot, we see a view of our window's display after the preceding changes have been made:
2500
for Scale. A keyframe is added automatically. Play back the animation. The group now scales from 2500
to 100
over one second and slams into place. We would like the group to gradually slow down before reaching 100
.Right-click the keyframe and from the menu choose Ease In. Refer to the following image and notice the curve on the second keyframe. Play back the animation. You should see that the group scales and slows down when approaching the second keyframe.
45
for the Y rotation. A keyframe is automatically added. Draw a square around the second Y rotation keyframe in the editor. Right-click and choose Ease In. Play back the animation.2250
. Play back the animation. The following screenshot shows a selected frame at the end of the animation:While we can move a keyframe's position by dragging in the Timeline or the Keyframe Editor, we can also move keyframes by selecting them and typing in a value to move them. For instance, to move the second Rotation Y keyframe in this recipe, select it in the Keyframe Editor and type in Shift + = + 1 + ., as indicated in the following screenshot. The keyframe moves one second forward. To move a keyframe back, select it and type – and the number you want and a period to force seconds. You can also move groups of keyframes in this way.
The Keyframe Editor can become a very busy place, very quickly. You can easily hide keyframes by clicking on the checkmark next to a parameter in the Keyframe Editor. If you Option + click the arrow, you will solo it, as shown here: