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

# course

The direction in which the device is traveling, measured in degrees and relative to due north.

## Declaration

```swift
var course: CLLocationDirection { get }
```

## Mentioned in

Getting heading and course information

## Discussion

Discussion Course values are measured in degrees starting at due north and continue clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the course information is invalid. Special Considerations In iOS, this property is declared as nonatomic. In macOS, it is declared as atomic.

## See Also

### Getting speed and course information

- [speed](corelocation/cllocation/speed.md)
- [speedAccuracy](corelocation/cllocation/speedaccuracy.md)
- [courseAccuracy](corelocation/cllocation/courseaccuracy.md)
- [CLLocationSpeed](corelocation/cllocationspeed.md)
- [CLLocationDirection](corelocation/cllocationdirection.md)
- [CLLocationSpeedAccuracy](corelocation/cllocationspeedaccuracy.md)
- [CLLocationDirectionAccuracy](corelocation/cllocationdirectionaccuracy.md)
