---
title: lapLength
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkworkoutconfiguration/laplength
---

# lapLength

The length of the lap for a workout session.

## Declaration

```swift
@NSCopying var lapLength: HKQuantity? { get set }
```

## See Also

### Session settings

- [activityType](healthkit/hkworkoutconfiguration/activitytype.md)
- [locationType](healthkit/hkworkoutconfiguration/locationtype.md)
- [HKWorkoutSessionLocationType](healthkit/hkworkoutsessionlocationtype.md)
- [swimmingLocationType](healthkit/hkworkoutconfiguration/swimminglocationtype.md)
- [HKWorkoutSwimmingLocationType](healthkit/hkworkoutswimminglocationtype.md)
