---
title: "Animate Video Clips with Keyframes | Rendley SDK Docs"
description: "Two animation systems, the PropertyAnimator for keyframe-based motion and the AnimationController for quick entrance/exit presets. Pick based on the job."
url: https://docs.rendley.com/sdk/getting-started/animation/
---

# Animation

Rendley SDK has two animation systems. Pick based on the job:

| System | API | Use when |
| --- | --- | --- |
| [Keyframe Animation](https://docs.rendley.com/sdk/getting-started/property-animator/) | `clip.propertyAnimator` | You want full control: one track per property, bezier handles, hold keyframes, effect and filter parameters, compound properties. |
| [Animation Controller](https://docs.rendley.com/sdk/getting-started/animation-layered/) | `clip.animationController` | You want preset entrance, exit, and looping phases with fixed durations that fit the clip (the classic In / Out / Loop model). |

Both systems run on the same clip without conflict.

## Quick example

A minimum fade-in with the keyframe system:

Runnable exampleShow full code

Run

```
const clip = await layer.addClip({
  type: "text",
  text: "Animate me",
  startTime: 0,
  duration: 4,
  style: { fontSize: 140, color: "#FFFFFF" },
});

clip.style.setPosition(960, 540);

clip.propertyAnimator.addKeyframe("alpha", 0, 0);
clip.propertyAnimator.addKeyframe("alpha", 1, 1);
```

That’s it, two keyframes on the `alpha` property. See [Keyframe Animation](https://docs.rendley.com/sdk/getting-started/property-animator/) for hold keyframes, bezier handles, compound properties, and animating effect or filter parameters.

## What you can animate

Every clip registers a default set of animatable properties:

- **Transform**: `positionX`, `positionY`, `position`, `scaleX`, `scaleY`, `scale`, `rotation`, `alpha`
- **Crop and zoom**: `cropLeft`, `cropTop`, `cropRight`, `cropBottom`, `crop`, `cropOffsetX`, `cropOffsetY`, `cropOffset`, `zoomX`, `zoomY`, `zoom`
- **Corner radius**: `cornerRadiusTL`, `cornerRadiusTR`, `cornerRadiusBR`, `cornerRadiusBL`, `cornerRadius`

Text clips add a `text` track. [Custom clips](https://docs.rendley.com/sdk/getting-started/clips/custom/) can register their own.

## What to read next

- **[Keyframe animator](https://docs.rendley.com/sdk/getting-started/property-animator/)** animates any property with keyframes and bezier easing.
- **[Preset animations](https://docs.rendley.com/sdk/getting-started/animation-layered/)** applies in, out and loop presets without writing keyframes.
- **[Crop and zoom](https://docs.rendley.com/sdk/getting-started/crop/)** reframes a clip inside the composition.

[Previous pageTransitions](https://docs.rendley.com/sdk/getting-started/transitions/) [Next pageKeyframe animator](https://docs.rendley.com/sdk/getting-started/property-animator/)
