---
title: goal
framework: WorkoutKit
role: symbol
role_heading: Instance Property
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 18.0+, macOS 15.0+, watchOS 10.0+]
path: workoutkit/singlegoalworkout/goal
---

# goal

The goal for the workout.

## Declaration

```swift
var goal: WorkoutGoal { get set }
```

## See Also

### Accessing workout data

- [activity](workoutkit/singlegoalworkout/activity.md)
- [location](workoutkit/singlegoalworkout/location.md)
- [swimmingLocation](workoutkit/singlegoalworkout/swimminglocation.md)
