---
title: location
framework: workoutkit
role: symbol
role_heading: Instance Property
path: workoutkit/customworkout/location
---

# location

The workout session location for the workout.

## Declaration

```swift
var location: HKWorkoutSessionLocationType { get set }
```

## See Also

### Accessing workout data

- [displayName](workoutkit/customworkout/displayname.md)
- [activity](workoutkit/customworkout/activity.md)
- [warmup](workoutkit/customworkout/warmup.md)
- [blocks](workoutkit/customworkout/blocks.md)
- [cooldown](workoutkit/customworkout/cooldown.md)
