---
title: yaw
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmattitude/yaw
---

# yaw

The yaw of the device, in radians.

## Declaration

```swift
var yaw: Double { get }
```

## Mentioned in

Getting processed device-motion data

## Discussion

Discussion A yaw is a rotation around an axis that runs vertically through the device. It is perpendicular to the body of the device, with its origin at the center of gravity and directed toward the bottom of the device.

## See Also

### Getting a Mathematical Representation of Attitude as Euler Angles

- [roll](coremotion/cmattitude/roll.md)
- [pitch](coremotion/cmattitude/pitch.md)
