<!--
{
  "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/CATransform3DMakeTranslation(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:@F@CATransform3DMakeTranslation"
  },
  "title" : "CATransform3DMakeTranslation(_:_:_:)"
}
-->

# CATransform3DMakeTranslation(_:_:_:)

Returns a transform that translates by `(tx, ty, tz)`.

```
func CATransform3DMakeTranslation(_ tx: CGFloat, _ ty: CGFloat, _ tz: CGFloat) -> CATransform3D
```

## Discussion

`t =  [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].`

---

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)