<!--
{
  "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/yawAngle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMetadataFaceObject(py)yawAngle"
  },
  "title" : "yawAngle"
}
-->

# yawAngle

The yaw angle of the face specified in degrees.

```
var yawAngle: CGFloat { get }
```

## Discussion

The yaw angle represents the rotation of the face around the vertical axis. A value of `0.0` yields a face that is looking directly at the camera, whereas a yaw angle of `90` degrees yields a face whose eye line is perpendicular to that of the camera.

You must check the value of the [`hasYawAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasYawAngle) property before accessing this property. If the value in the [`hasYawAngle`](/documentation/AVFoundation/AVMetadataFaceObject/hasYawAngle) 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)