---
title: compose
framework: realitykit
role: symbol
role_heading: Type Property
path: realitykit/animationhandofftype/compose
---

# compose

Adds the new animation to existing animations, and immediately starts the new animation.

## Declaration

```swift
static var compose: AnimationHandoffType { get }
```

## Discussion

Discussion Use this handoff for additive animations. If the new animation isn’t additive, then compose adds the new animation and removes the existing animation.
