---
title: AnimationHandoffType
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/animationhandofftype
---

# AnimationHandoffType

The type of handoff the play animation method performs between a current animation and a new animation.

## Declaration

```swift
struct AnimationHandoffType
```

## Topics

### Type Properties

- [compose](realitykit/animationhandofftype/compose.md)
- [default](realitykit/animationhandofftype/default.md)
- [stop](realitykit/animationhandofftype/stop.md)

### Type Methods

- [replace(applyToAllLayers:)](realitykit/animationhandofftype/replace(applytoalllayers:).md)
- [snapshotAndReplace(applyToAllLayers:)](realitykit/animationhandofftype/snapshotandreplace(applytoalllayers:).md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)

## See Also

### Animation definitions

- [SampledAnimation](realitykit/sampledanimation.md)
- [TweenMode](realitykit/tweenmode.md)
- [FromToByAnimation](realitykit/fromtobyanimation.md)
- [AnimationTimingFunction](realitykit/animationtimingfunction.md)
- [AnimationView](realitykit/animationview.md)
- [OrbitAnimation](realitykit/orbitanimation.md)
- [AnimationDefinition](realitykit/animationdefinition.md)
- [AnimationFillMode](realitykit/animationfillmode.md)
- [AnimationGroup](realitykit/animationgroup.md)
