---
title: "GestureInclusion"
description: "[GestureInclusion] provides fine-grained control over which gestures a component should handle,
given the start offset and the layout coordinates of the component."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>



```kotlin
public interface GestureInclusion
```


`GestureInclusion` provides fine-grained control over which gestures a component should handle,
given the start offset and the layout coordinates of the component.


## Functions

```kotlin
public fun ignoreGestureStart(offset: Offset, layoutCoordinates: LayoutCoordinates): Boolean
```


Determines whether a gesture starting at the given offset will be handled by this component.

#### Parameters

| | |
| --- | --- |
| offset | The offset of the gesture within the component's layout. |
| layoutCoordinates | The layout coordinates of the component. |


#### Returns

| | |
| --- | --- |
|  | `true` if the gesture should be ignored by this component, `false` otherwise. |




