<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/Transition/ZoomOptions/InteractionContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIZoomTransitionInteractionContext"
  },
  "title" : "UIViewController.Transition.ZoomOptions.InteractionContext"
}
-->

# UIViewController.Transition.ZoomOptions.InteractionContext

Data you can use to determine whether an interactive dismissal can begin.

```
class InteractionContext
```

## Topics

### Accessing the context

[`var location: CGPoint`](/documentation/UIKit/UIViewController/Transition/ZoomOptions/InteractionContext/location)

The touch’s location.

[`var velocity: CGVector`](/documentation/UIKit/UIViewController/Transition/ZoomOptions/InteractionContext/velocity)

The touch’s velocity.

[`var willBegin: Bool`](/documentation/UIKit/UIViewController/Transition/ZoomOptions/InteractionContext/willBegin)

A Boolean value that indicates whether the transition is beginning.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherits From

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

---

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)