---
title: "CATransform3DInvert(_:)"
framework: Core Animation
role: symbol
role_heading: Function
platforms: [iOS 2.0+, iPadOS 2.0+, Mac Catalyst 13.1+, macOS 10.5+, tvOS 9.0+, visionOS 1.0+]
path: "quartzcore/catransform3dinvert(_:)"
---

# CATransform3DInvert(_:)

Inverts t and returns the result.

## Declaration

```swift
func CATransform3DInvert(_ t: CATransform3D) -> CATransform3D
```

## Discussion

Discussion Returns the original matrix if t has no inverse.
