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

# visibility

The distance at which terrain is visible.

## 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 daylight and visibility

- [isDaylight](weatherkit/currentweather/isdaylight.md)
- [uvIndex](weatherkit/currentweather/uvindex.md)
