<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WorkoutKit",
  "identifier" : "/documentation/WorkoutKit/WorkoutStep",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit0A4StepV"
  },
  "title" : "WorkoutStep"
}
-->

# WorkoutStep

A step in a workout.

```
struct WorkoutStep
```

## Topics

### Creating new workout steps

[`init(goal: WorkoutGoal, alert: (any WorkoutAlert)?)`](/documentation/WorkoutKit/WorkoutStep/init(goal:alert:))

Creates a new workout step with the provided goal and alerts.

### Accessing step data

[`var alert: (any WorkoutAlert)?`](/documentation/WorkoutKit/WorkoutStep/alert)

Alerts used during the step.

[`var goal: WorkoutGoal`](/documentation/WorkoutKit/WorkoutStep/goal)

A goal that determines when the step ends.

### Comparing workout steps

### Initializers

[`init(goal: WorkoutGoal, alert: (any WorkoutAlert)?, displayName: String?)`](/documentation/WorkoutKit/WorkoutStep/init(goal:alert:displayName:))

### Instance Properties

[`var displayName: String?`](/documentation/WorkoutKit/WorkoutStep/displayName)

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)