> For the complete documentation index, see [llms.txt](https://docs.zipy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zipy.ai/zipy-for-mobile/react-native-setup/gesture-capturing.md).

# Gesture Capturing

Gesture Capture is a feature provided by Zipy that allows you to capture gestures within your React Native application. To enable this feature, wrap your application with the `withGestureCapture` wrapper.

Here's how you can do this in your index file:

1. Import withGestureCapture in your index file.

```javascript
import { withGestureCapture } from "zipyai-react-native";
```

2. Wrap withGestureCapture to your main app.

```javascript
AppRegistry.registerComponent(appName, () => withGestureCapture(App));
```

Gesture Capture provides useful information, including:

* The x and y coordinates of user clicks.
* Detection of single taps, double taps, and long taps.
* The component tree on which the user has clicked.
* Identification of the clicked element type (e.g., view, text).
* The specific text clicked by the user (e.g., "Get Started").
