<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSEvent/Phase-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSEventPhase"
  },
  "title" : "NSEvent.Phase"
}
-->

# NSEvent.Phase

Constants that represent the possible phases during an event phase.

```
struct Phase
```

## Topics

### Constants

[`NSEventPhaseNone`](/documentation/AppKit/NSEventPhase/NSEventPhaseNone)

The event is not associated with a phase.

[`NSEventPhaseBegan`](/documentation/AppKit/NSEvent/Phase-swift.struct/began)

An event phase has begun.

[`NSEventPhaseStationary`](/documentation/AppKit/NSEvent/Phase-swift.struct/stationary)

An event phase is in progress but hasn’t moved since the previous event.

[`NSEventPhaseChanged`](/documentation/AppKit/NSEvent/Phase-swift.struct/changed)

An event phase has changed.

[`NSEventPhaseEnded`](/documentation/AppKit/NSEvent/Phase-swift.struct/ended)

The event phase ended.

[`NSEventPhaseCancelled`](/documentation/AppKit/NSEvent/Phase-swift.struct/cancelled)

The system canceled the event phase.

[`NSEventPhaseMayBegin`](/documentation/AppKit/NSEvent/Phase-swift.struct/mayBegin)

The system event phase may begin.

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSEvent/Phase-swift.struct/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)