---
title: AVVideoCompositionCoreAnimationTool
framework: avfoundation
role: symbol
role_heading: Class
path: avfoundation/avvideocompositioncoreanimationtool
---

# AVVideoCompositionCoreAnimationTool

An object used to incorporate Core Animation into a video composition.

## Declaration

```swift
class AVVideoCompositionCoreAnimationTool
```

## Overview

Overview Any animations will be interpreted on the video’s timeline, not real-time, so you should: Set animations’ beginTime property to AVCoreAnimationBeginTimeAtZero rather than 0 (which CoreAnimation replaces with CACurrentMediaTime()); Set isRemovedOnCompletion to false on animations so they are not automatically removed; Avoid using layers that are associated with UIView objects.

## Topics

### Creating a composition tool

- [init(additionalLayer:asTrackID:)](avfoundation/avvideocompositioncoreanimationtool/init(additionallayer:astrackid:).md)
- [init(postProcessingAsVideoLayer:in:)](avfoundation/avvideocompositioncoreanimationtool/init(postprocessingasvideolayer:in:).md)
- [init(postProcessingAsVideoLayers:in:)](avfoundation/avvideocompositioncoreanimationtool/init(postprocessingasvideolayers:in:).md)
- [init(configuration:)](avfoundation/avvideocompositioncoreanimationtool/init(configuration:).md)
- [AVVideoCompositionCoreAnimationTool.Configuration](avfoundation/avvideocompositioncoreanimationtool/configuration.md)

### Initializers

- [init(postProcessingAsVideoLayer:inLayer:)](avfoundation/avvideocompositioncoreanimationtool/init(postprocessingasvideolayer:inlayer:).md)
- [init(postProcessingAsVideoLayers:inLayer:)](avfoundation/avvideocompositioncoreanimationtool/init(postprocessingasvideolayers:inlayer:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
