<!--
{
  "availability" : [
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DigitalCrownEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17DigitalCrownEventV"
  },
  "title" : "DigitalCrownEvent"
}
-->

# DigitalCrownEvent

An event emitted when the user rotates the Digital Crown.

```
struct DigitalCrownEvent
```

## Overview

Use the [`digitalCrownRotation(_:)`](/documentation/SwiftUI/View/digitalCrownRotation(_:)) modifier to receive these events.

## Topics

### Getting events

[`var offset: Double`](/documentation/SwiftUI/DigitalCrownEvent/offset)

The offset of the digital crown when this event was sent.

[`var velocity: Double`](/documentation/SwiftUI/DigitalCrownEvent/velocity)

The velocity at which the offset was changing when this event was sent.

## Relationships

### Conforms To

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

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

---

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)