---
title: NSTouch.Phase
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nstouch/phase-swift.struct
---

# NSTouch.Phase

The possible phases of a touch.

## Declaration

```swift
struct Phase
```

## Overview

Overview These constants are used by phase.

## Topics

### Creating a Touch Phase

- [init(rawValue:)](appkit/nstouch/phase-swift.struct/init(rawvalue:).md)

### Constants

- [began](appkit/nstouch/phase-swift.struct/began.md)
- [moved](appkit/nstouch/phase-swift.struct/moved.md)
- [stationary](appkit/nstouch/phase-swift.struct/stationary.md)
- [ended](appkit/nstouch/phase-swift.struct/ended.md)
- [cancelled](appkit/nstouch/phase-swift.struct/cancelled.md)
- [touching](appkit/nstouch/phase-swift.struct/touching.md)
- [any](appkit/nstouch/phase-swift.struct/any.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Using Touch Properties

- [identity](appkit/nstouch/identity.md)
- [phase](appkit/nstouch/phase-swift.property.md)
- [normalizedPosition](appkit/nstouch/normalizedposition.md)
- [isResting](appkit/nstouch/isresting.md)
