<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMetadataFaceObject/rollAngle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMetadataFaceObject(py)rollAngle"
  },
  "title" : "rollAngle"
}
-->

# rollAngle

The roll angle of the face specified in degrees.

```
var rollAngle: CGFloat { get }
```

## Discussion

The roll angle represents the side-to-side tilt of the face relative to the metadata’s bounding rectangle. A value of `0.0` yields a face that is level relative to the picture, whereas a value of `90` yields a face that is perpendicular relative to the picture.

You must check the value of the [`hasRollAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasRollAngle) property before accessing this property. If the value in the [`hasRollAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasRollAngle) property is <doc://com.apple.documentation/documentation/Swift/false>, reading the value in this property raises an exception.

---

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)