<key>
Assign a typed value at an exact composition instant.
A key owns a typed value and one address. Editing the frame rate moves frame-addressed keys in seconds and leaves exact-time keys at their authored instants.
Syntax
Set the outgoing ease for a turn
The first rotation key starts at zero degrees. Linear ease reaches 45° halfway to the 90° key at frame 4.
<key frame="0" value="0" ease="linear"/>Complete .nothing source · Sample checks
Usage context
Allowed parents are <animate>.
Supply exactly one of frame and time. Each nonfinal key specifies outgoing ease. The final key carries only address and value.
Attributes
frame
Value Integer frame index · Keys Static
Frame number on the owning composition's clock, whose zero is the first frame.
time
Value Exact integer, decimal, or integer fraction with positive denominator and s suffix · Keys Static
Exact address in seconds, such as 1/24s or 0.5s.
value
Value Target property's grammar, units and range · Required · Keys Static
Value at the addressed instant.
ease
Value hold, linear, spline · Keys Static
Required on each nonfinal key. Hold keeps the left value, linear uses the raw interval fraction, and spline uses a cubic Bézier for that fraction. Evaluating animation tracks
keySplines
Value Four space-separated Bézier coordinates x1 y1 x2 y2, each in [0, 1] · Keys Static
Required with spline ease and used only for that outgoing segment. Evaluating animation tracks