<!--
{
  "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/CAAction",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(pl)CAAction"
  },
  "title" : "CAAction"
}
-->

# CAAction

An interface that allows instances to respond to actions triggered by a Core Animation layer change.

```
protocol CAAction
```

## Overview

When queried with an action identifier (a key path, an external action name, or a predefined action identifier) a layer returns the appropriate action object–which must implement the [`CAAction`](/documentation/QuartzCore/CAAction) protocol–and sends it a [`run(forKey:object:arguments:)`](/documentation/QuartzCore/CAAction/run(forKey:object:arguments:)) message.

## Topics

### Responding to an action

[`run(forKey:object:arguments:)`](/documentation/QuartzCore/CAAction/run(forKey:object:arguments:))

Called to trigger the action specified by the identifier.



---

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)