---
title: visibility
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/hourweather/visibility
---

# visibility

The distance at which an object can be clearly seen.

## Declaration

```swift
var visibility: Measurement<UnitLength>
```

## Discussion

Discussion The amount of light and weather conditions like fog, mist, and smog affect visibility.

## See Also

### Getting conditions

- [cloudCover](weatherkit/hourweather/cloudcover.md)
- [condition](weatherkit/hourweather/condition.md)
- [isDaylight](weatherkit/hourweather/isdaylight.md)
