<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAValueFunction/init(name:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAValueFunction(cm)functionWithName:"
  },
  "title" : "init(name:)"
}
-->

# init(name:)

Returns the value function object identified by the name.

```
convenience init?(name: CAValueFunctionName)
```

## Parameters

`name`

The name of the value function.

## Return Value

A new `CAValueFunction` instance with the value function specified by the name.

## Discussion

The possible values for `name` are specified in [Rotate Value Functions](/documentation/QuartzCore/rotate-value-functions), [Scale Value Functions](/documentation/QuartzCore/scale-value-functions), and [Translate Functions](/documentation/QuartzCore/translate-functions).

---

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)