---
title: "interaction(_:shouldBeginAt:for:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/imageanalysisinteractiondelegate/interaction(_:shouldbeginat:for:)"
---

# interaction(_:shouldBeginAt:for:)

Provides a Boolean value that indicates whether the interaction can begin at the given point.

## Declaration

```swift
@MainActor func interaction(_ interaction: ImageAnalysisInteraction, shouldBeginAt point: CGPoint, for interactionType: ImageAnalysisInteraction.InteractionTypes) -> Bool
```

## Parameters

- `interaction`: The object for which interaction can begin.
- `point`: The point where the interaction can begin.
- `interactionType`: The type of interaction that can begin.

## Return Value

Return Value true if the interaction can begin; otherwise, false.

## Discussion

Discussion The system calls this method once for each type of interaction. The default value is true, which starts the interaction immediately after the image displays.
