---
title: goalValue
framework: intents
role: symbol
role_heading: Instance Property
path: intents/instartworkoutintent/goalvalue-5oazy
---

# goalValue

The user-supplied numerical goal of the workout.

## Declaration

```swift
@nonobjc final var goalValue: Double? { get }
```

## Discussion

Discussion If the user specified a goal, this property contains the numerical value of that goal. For example, if the user specifies a 40 minute workout then this property has the value 40. You get the units associated with this goal from the workoutGoalUnitType property.

## See Also

### Specifying Workout Details

- [workoutName](intents/instartworkoutintent/workoutname.md)
- [workoutGoalUnitType](intents/instartworkoutintent/workoutgoalunittype.md)
- [workoutLocationType](intents/instartworkoutintent/workoutlocationtype.md)
- [isOpenEnded](intents/instartworkoutintent/isopenended-8hecn.md)
