---
title: floor
framework: corelocation
role: symbol
role_heading: Instance Property
path: corelocation/cllocation/floor
---

# floor

The logical floor of the building in which the user is located.

## Declaration

```swift
@NSCopying var floor: CLFloor? { get }
```

## Discussion

Discussion If floor information is not available for the current location, the value of this property is nil.

## See Also

### Getting the location attributes

- [coordinate](corelocation/cllocation/coordinate.md)
- [altitude](corelocation/cllocation/altitude.md)
- [ellipsoidalAltitude](corelocation/cllocation/ellipsoidalaltitude.md)
- [CLLocationDistance](corelocation/cllocationdistance.md)
- [timestamp](corelocation/cllocation/timestamp.md)
- [sourceInformation](corelocation/cllocation/sourceinformation.md)
