---
title: x
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmmagneticfield/x
---

# x

X-axis magnetic field in microteslas.

## Declaration

```swift
var x: Double
```

## See Also

### Getting the Field Values

- [y](coremotion/cmmagneticfield/y.md)
- [z](coremotion/cmmagneticfield/z.md)
