---
title: maxAbsSlope
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmodometerdata/maxabsslope-9mnfd
---

# maxAbsSlope

The maximum absolute slope at the location toward all directions, measured in degrees.

## Declaration

```swift
var maxAbsSlope: Double? { get }
```

## Discussion

Discussion If the maximum absolute slope is invalid due to low GPS accuracy, this property is nil.

## See Also

### Getting speed and slope

- [speed](coremotion/cmodometerdata/speed.md)
- [slope](coremotion/cmodometerdata/slope-9h3m4.md)
