<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.5.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAPropertyAnimation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAPropertyAnimation"
  },
  "title" : "CAPropertyAnimation"
}
-->

# CAPropertyAnimation

An abstract subclass for creating animations that manipulate the value of layer properties.

```
class CAPropertyAnimation
```

## Overview

The property to animate is specified using a key path that is relative to the layer using the animation.

You do not create instances of [`CAPropertyAnimation`](/documentation/QuartzCore/CAPropertyAnimation): to animate the properties of a Core Animation layer, create instance of the concrete subclasses [`CABasicAnimation`](/documentation/QuartzCore/CABasicAnimation) or [`CAKeyframeAnimation`](/documentation/QuartzCore/CAKeyframeAnimation).

## Topics

### Animated Key Path

[`keyPath`](/documentation/QuartzCore/CAPropertyAnimation/keyPath)

Specifies the key path the receiver animates.

### Property Value Calculation Behavior

[`isCumulative`](/documentation/QuartzCore/CAPropertyAnimation/isCumulative)

Determines if the value of the property is the value at the end of the previous repeat cycle, plus the value of the current repeat cycle.

[`isAdditive`](/documentation/QuartzCore/CAPropertyAnimation/isAdditive)

Determines if the value specified by the animation is added to the current render tree value to produce the new render tree value.

[`valueFunction`](/documentation/QuartzCore/CAPropertyAnimation/valueFunction)

An optional value function that is applied to interpolated values.

### Creating an Animation

[`init(keyPath:)`](/documentation/QuartzCore/CAPropertyAnimation/init(keyPath:))

Creates and returns an `CAPropertyAnimation` instance for the specified key path.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)