<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VisionKit",
  "identifier" : "/documentation/VisionKit/ImageAnalysisOverlayViewDelegate/overlayView(_:shouldBeginAt:forAnalysisType:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VisionKit"
    ],
    "preciseIdentifier" : "s:9VisionKit32ImageAnalysisOverlayViewDelegateP07overlayF0_13shouldBeginAt03forD4TypeSbAA0cdeF0C_So7CGPointVAH16InteractionTypesVtF"
  },
  "title" : "overlayView(_:shouldBeginAt:forAnalysisType:)"
}
-->

# overlayView(_:shouldBeginAt:forAnalysisType:)

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

```
@MainActor func overlayView(_ overlayView: ImageAnalysisOverlayView, shouldBeginAt point: CGPoint, forAnalysisType analysisType: ImageAnalysisOverlayView.InteractionTypes) -> Bool
```

## Parameters

`overlayView`

The overlay view for which interaction can begin.

`point`

The point where the interaction can begin.

`analysisType`

The type of interaction that can begin.

## Return Value

`true` if the interaction can begin; otherwise, `false`.

## 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.

---

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)