Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Combining keyframes and behaviors

From: Motion 5 Essential Training

Video: Combining keyframes and behaviors

When it comes to combining keyframes and behaviors, you're actually getting the best of both worlds by getting the precise control through keyframe animation and combining that with some of the more organic animations you can create by using behaviors. So for this project, if you press the spacebar, you can see a preview of absolutely zero animation. So what's happening here, the scene is just waiting for us to start our animation, so let's press F5 to look at what we have got here. As you can see, we have our background layer and we have our four circles.

Combining keyframes and behaviors

When it comes to combining keyframes and behaviors, you're actually getting the best of both worlds by getting the precise control through keyframe animation and combining that with some of the more organic animations you can create by using behaviors. So for this project, if you press the spacebar, you can see a preview of absolutely zero animation. So what's happening here, the scene is just waiting for us to start our animation, so let's press F5 to look at what we have got here. As you can see, we have our background layer and we have our four circles.

Now I want to go ahead and create an animation where the circle pops under the scene and then kind of shakes a little bit. So I'll use keyframes to create the precise scale from 0 up to 100, and then we'll use a parameter behavior to create kind of a wriggle. Just so we can focus on things more closely, I'm going to turn off the visibility of all the other circles except for this purple one, Then we select the purple layer, go to the Inspector, and let's make sure we are in the Property section of the Inspector, and let's create a keyframe animation.

Move your player back to the beginning by pressing the Home key and press A to turn on your automatic keyframe. Let's adjust the Scale of this down to 0. Now move your playhead further down the Timeline, let's say to about 1 second. Now at 1 second let's change our Scale back up to around 66%, which is kind of where we were before. Now we've actually created our first animation. If you press Home and then the spacebar, you'll see the circle scales right up.

Now what we need to do is add kind of wriggle effect to this scale. Now, before I go do that, I want to make sure to turn off automatic keyframing, so I'll just click on the button in the Timeline. Now just because I'm kind particular with my keyframe animations, I want to move my playhead back to the second keyframe by clicking this little left arrow here to the left of the scale keyframe. That way I know this is where I want the wriggle to start. So if you Ctrl+Click or Right-click on the word Scale, you'll get this contextual menu that pops up, and what you want to do is Add a Parameter behavior, and here we can choose the wriggle effect.

Now but what this actually going to do is create kind of a shake. The Apply mode, I want it to be both Add and Subtract, so it'll scale up and it will scale down. You won't actually see any animation until you increase the amount of the wriggle. Now also, we want to trim the start point of this behavior, because I would like this to scale without any wriggling going on whatsoever, so let's press I. I will automatically trim the in point of that behavior since I already had it selected in the Layers panel. Notice it updated here in my Mini Timeline.

Now if I deselect that layer so I don't see any bounding box, press Home, and preview the animation, you'll see I have the precise animation of the scale actually popping up, combined with the power of the wriggle. Now I want to take things one step further by decreasing the wriggle over time, and the easiest way to do that is to actually keyframe the parameter within the wriggle behavior. So we have keyframes to start, we have a behavior to finish, and then we're actually keyframe a parameter of the behaviors.

So let's position our playhead to around two seconds, and let's add our first keyframe for this wriggle amount. I can just click this plus button right next to the parameter, and I want this to stop wriggling by about 225, so I just drag down the Timeline. And we'll add our second keyframe just by clicking Add a Keyframe, and now I can just change this amount back to 0. So if we scrub through, you can see I have got my wriggle happening, and then it slowly subsides.

Now one of the things I like to do with behaviors if it's set at a 0 number when it's finished, I do like to trim the out point. So I'm going to position my playhead to a little bit after the second wriggle keyframe and press O. That's just going to trim that behavior, and that way I know it's definitely gone, but the problem with that is this: it really compressed that end of that wriggle parameter, and that's not what I want, so let's undo that.

What you need to do is actually just sort of be aware that yeah, you've added those keyframes, but if you do trim that out point of one of this parameter behaviors, it will scale any keyframing that you've done based on the percentage of scale difference you've created over the length of that behavior. So let's go ahead and deselect the behavior and preview our animation. Now obviously, we can continue tweaking this by making several adjustments, but I think you can see just how precise you can be by using your keyframe animations and just how powerful it is when you combine behaviors to just add that one extra bit of organic animation.

Show transcript

This video is part of

Image for Motion 5 Essential Training
Motion 5 Essential Training

77 video lessons · 25428 viewers

Ian Robinson
Author

 
Expand all | Collapse all
  1. 14m 18s
    1. Welcome
      1m 6s
    2. Learning important definitions
      8m 13s
    3. Using the exercise files
      1m 37s
    4. Relinking missing media
      3m 22s
  2. 49m 41s
    1. Launching Motion for the first time
      4m 3s
    2. Navigating the interface
      9m 27s
    3. Creating and transforming objects in the Canvas
      6m 9s
    4. Controlling the Timing pane
      6m 29s
    5. Setting essential preferences
      6m 41s
    6. Customizing the keyboard
      5m 5s
    7. Using RAM preview and audio controls to get smooth preview playback
      5m 26s
    8. Introducing markers and audio
      6m 21s
  3. 26m 9s
    1. Adding assets to a project
      7m 56s
    2. Using the Library
      6m 4s
    3. Working with layers and groups
      6m 9s
    4. Understanding and using blend modes
      6m 0s
  4. 31m 15s
    1. Adding and adjusting behaviors
      7m 5s
    2. Adding multiple behaviors
      6m 31s
    3. Trimming and sliding behaviors
      8m 40s
    4. Using custom presets to create a slideshow
      8m 59s
  5. 29m 49s
    1. Animating manually using keyframes
      7m 49s
    2. Using the Record button
      6m 28s
    3. Manipulating keyframes with the Keyframe Editor
      10m 9s
    4. Combining keyframes and behaviors
      5m 23s
  6. 52m 33s
    1. Adding and formatting text
      7m 50s
    2. Using text styles
      10m 36s
    3. Formatting with the Transform Glyph tool
      5m 33s
    4. Animating text
      11m 17s
    5. Working with text on a path
      8m 16s
    6. Creating credit rolls
      9m 1s
  7. 31m 19s
    1. Match Move: Four-corner pin
      7m 25s
    2. Match Move: Transform
      11m 27s
    3. Stabilization
      5m 4s
    4. Retiming footage with behaviors
      7m 23s
  8. 16m 42s
    1. Applying and adjusting filters
      4m 18s
    2. Applying multiple filters
      7m 32s
    3. Timing a style with filters
      4m 52s
  9. 33m 35s
    1. Creating and adjusting shapes
      10m 7s
    2. Using shape behaviors
      7m 40s
    3. Creating and adjusting masks
      10m 47s
    4. Creating masks with objects
      5m 1s
  10. 34m 3s
    1. Using the keyer to composite green screen footage
      7m 28s
    2. Refining a key
      11m 6s
    3. Using masks to refine a green screen composite
      7m 54s
    4. Color-correcting elements to match within a green screen composite
      7m 35s
  11. 50m 2s
    1. Understanding generators
      4m 52s
    2. Applying text generators
      5m 41s
    3. Creating particle systems
      5m 49s
    4. Making adjustments to a particle system
      7m 33s
    5. Using particle behaviors
      5m 18s
    6. Creating paint strokes
      6m 58s
    7. Animating paint strokes
      4m 57s
    8. Using the Replicator
      5m 1s
    9. Replicating video
      3m 53s
  12. 47m 28s
    1. Viewing a scene in different layouts
      7m 17s
    2. Working with lights
      8m 12s
    3. Adjusting lighting and reflectivity
      9m 13s
    4. Creating and adjusting shadows
      4m 3s
    5. Creating replicators in 3D
      7m 50s
    6. Creating particles in 3D
      5m 7s
    7. Creating text in 3D
      5m 46s
  13. 42m 14s
    1. Working with cameras
      9m 3s
    2. Creating depth of field in a composition
      4m 55s
    3. Using camera behaviors
      9m 53s
    4. Create interest with the Focus behavior
      7m 26s
    5. Animating cameras with camera framing
      10m 57s
  14. 16m 36s
    1. Adding and adjusting audio
      9m 29s
    2. Adding audio markers
      7m 7s
  15. 17m 37s
    1. Sharing files
      6m 58s
    2. Creating a pre-render
      7m 5s
    3. Archiving a project
      3m 34s
  16. 26m 5s
    1. Creating drop zones
      4m 21s
    2. Setting up rigs: Slider rigs
      6m 56s
    3. Setting up rigs: Pop-up rigs
      4m 49s
    4. Making templates for Motion
      4m 3s
    5. Making templates for Final Cut Pro
      5m 56s
  17. 1m 32s
    1. Goodbye
      1m 32s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Motion 5 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.