---
title: "overlayView(_:shouldBeginAt:forAnalysisType:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/imageanalysisoverlayviewdelegate/overlayview(_:shouldbeginat:foranalysistype:)-35czq"
---

# overlayView(_:shouldBeginAt:forAnalysisType:)

Indicates whether interaction begins at the given point for the specified interaction type.

## Declaration

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

## Parameters

- `overlayView`: The overlay view that implements the Live Text interface.
- `point`: The point where the interface begins.
- `analysisType`: The type of interaction that starts.

## Mentioned in

Enabling Live Text interactions with images

## Return Value

Return Value This default implementation returns true.

## Discussion

Discussion The overlay view invokes this method once for each type of interaction. The default return value is true, which starts the interface immediately upon presentation.
