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

# z

Z-axis magnetic field in microteslas.

## Declaration

```swift
var z: Double
```

## See Also

### Getting the Field Values

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