<!--
{
  "availability" : [
    "iOS: 17.5.0 -",
    "iPadOS: 17.5.0 -",
    "macCatalyst: 17.5.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPencilInteraction/Squeeze",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPencilInteractionSqueeze"
  },
  "title" : "UIPencilInteraction.Squeeze"
}
-->

# UIPencilInteraction.Squeeze

An interaction that represents a squeeze on Apple Pencil.

```
@MainActor class Squeeze
```

## Topics

### Getting information about a squeeze interaction

[`var timestamp: TimeInterval`](/documentation/UIKit/UIPencilInteraction/Squeeze/timestamp)

The timestamp of the squeeze interaction.

[`var phase: UIPencilInteraction.Phase`](/documentation/UIKit/UIPencilInteraction/Squeeze/phase)

The phase of a squeeze interaction on Apple Pencil.

[`enum Phase`](/documentation/UIKit/UIPencilInteraction/Phase)

Constants that describe the phases of an interaction on Apple Pencil.

[`var hoverPose: UIPencilHoverPose?`](/documentation/UIKit/UIPencilInteraction/Squeeze/hoverPose)

The hover pose of Apple Pencil during a squeeze interaction.

[`class UIPencilHoverPose`](/documentation/UIKit/UIPencilHoverPose)

An object that describes the hover pose of Apple Pencil during an interaction like double tap or squeeze.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

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

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

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

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)