O'Reilly logo

Apple Motion 5 Cookbook by Nick Harauz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Combining keyframes and behaviors – animating a clock

Let's take a look at another example of combining keyframes and behaviors by animating a clock's minute and hour hand while linking some text to rotate along with the clock.

How to do it...

  1. From this chapter's exercises folder, open the 04_11 project. This project consists of a clock from Motion's library that contains separate layers for the hour and minute hand. There are also two text layers, as shown in the following image. We want the text to rotate along with the clock's hand. In order to achieve this, we're going to move both of the texts' anchor points to the center of the clock.
    How to do it...
  2. On the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required