Animation help for objects on face

Can someone help me? I want to animate the birds. For example left bird to rotate down on the hour to “feed” the small birds, and then quickly return to upright position. Other animations on the hour, egg in the middle divides. I made this happen on the old watchmaker, but cannot recall how. Thanks.

Assuming this is for Android, you can’t use scripts anymore, but you can do an expression something like this as the rotation formula:

({dm} == 0) and (

({dsps} < 600) and (-{dsps}/600 * 25)

or ({dsps} < 2600) and -25

or ({dsps} < 3100) and (-25 + ({dsps}-2600)/500 * 25)

or 0

) or 0

I haven’t tested this but it should only animate during minute 0 of each hour. 0–1.5s descend from 0° to 55°, 1.5–2.0s hold (feeding), 2.0–2.5s snap back to 0°, then rest. Flip the sign of 55 if the lean is the wrong direction. Adjust 55 for how far it tips, or shrink 2500 for a faster animation.

Thank you for the quick response. You mention adjustments to 55 and 2500, but I do not see these numbers in the formula you provided. The bird leans left instead of right. Also wanted to have the bird stay down a little longer before returning upright. Thank you.

Here’s the formula I meant to paste:

({dm} == 0) and (
({dsps} < 1500) and ({dsps}/1500 * 55)
or ({dsps} < 2000) and 55
or ({dsps} < 2500) and (55 - ({dsps}-2000)/500 * 55)
or 0
) or 0

Thanks so much. I’ll give it a try.