---
title: compassDirection
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/wind/compassdirection-swift.property
---

# compassDirection

The general indicator of wind direction.

## Declaration

```swift
var compassDirection: Wind.CompassDirection
```

## Discussion

Discussion This structure refers to the direction the wind is coming from; for instance, a north wind blows from north to south.

## See Also

### Getting the properties

- [Wind.CompassDirection](weatherkit/wind/compassdirection-swift.enum.md)
- [direction](weatherkit/wind/direction.md)
- [gust](weatherkit/wind/gust.md)
- [speed](weatherkit/wind/speed.md)
