---
title: floorsAscended
framework: coremotion
role: symbol
role_heading: Instance Property
path: coremotion/cmpedometerdata/floorsascended
---

# floorsAscended

The approximate number of floors ascended by walking.

## Declaration

```swift
var floorsAscended: NSNumber? { get }
```

## Discussion

Discussion This value reflects only the floors ascended while the user was walking or running up stairs and does not reflect the floors ascended by elevator or other assisted means. A single floor has a height of approximately three meters. The value in this property is nil when floor counting is not supported on the current device.

## See Also

### Getting the Floor Counts

- [floorsDescended](coremotion/cmpedometerdata/floorsdescended.md)
