---
title: workoutGoalUnitType
framework: intents
role: symbol
role_heading: Instance Property
path: intents/instartworkoutintent/workoutgoalunittype
---

# workoutGoalUnitType

The units associated with the workout goal.

## Declaration

```swift
var workoutGoalUnitType: INWorkoutGoalUnitType { get }
```

## Discussion

Discussion If the user specified a goal, this property contains the units for measuring that goal. The units reflect a distance, a time, or a unit of energy. You get the goal’s numerical value from the goalValue property.

## See Also

### Specifying Workout Details

- [workoutName](intents/instartworkoutintent/workoutname.md)
- [goalValue](intents/instartworkoutintent/goalvalue-5oazy.md)
- [workoutLocationType](intents/instartworkoutintent/workoutlocationtype.md)
- [isOpenEnded](intents/instartworkoutintent/isopenended-8hecn.md)
