---
title: "textInteractionGesture(_:shouldBeginAt:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/betextinput/textinteractiongesture(_:shouldbeginat:)"
---

# textInteractionGesture(_:shouldBeginAt:)

Returns whether a gesture at the given point in the view needs to begin.

## Declaration

```swift
func textInteractionGesture(_ gestureType: BEGestureType, shouldBeginAt point: CGPoint) -> Bool
```

## Parameters

- `gestureType`: The type of gesture that’s possibly beginning.
- `point`: The location of the gesture in the text view.

## Mentioned in

Integrating custom browser text views with UIKit

## Return Value

Return Value true to permit the text system to proceed with the gesture; false otherwise.
