> For the complete documentation index, see [llms.txt](https://sparkar-community.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sparkar-community.gitbook.io/docs/touchgesturesmodule/gesture.md).

# Gesture

The `Gesture` class encapsulates details of a detected gesture.

## Properties

| Property | Description                                                                                                                                                                                                                                                                                                                                               |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `state`  | `(get) state: StringSignal (set) (Not Available)` Specifies a [`StringSignal`](https://sparkar.facebook.com/docs/camera-effects/reference/reactive_module/stringsignal_class) representing the current gesture state. The value is a member of the [`Gesture.State`](https://sparkar.facebook.com/docs/camera-effects/reference/gesture_state_enum) enum. |
| `type`   | <p><code>(get) type: Gesture.Type (set) (Not Available)</code></p><p>Specifies a <a href="https://sparkar.facebook.com/docs/camera-effects/reference/type_enum"><code>Gesture.Type</code></a> enum value representing the type of gesture detected.</p><p>To use this property, enable pre-release APIs in your project manifest.</p>                     |

## Methods

This module exposes no methods.

## Enums

| Enum                                                                                                     | Description                                      |
| -------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [`State`](https://sparkar.facebook.com/docs/ar-studio/reference/enums/touchgesturesmodule.gesture.state) | The State enum describes the state of a Gesture. |
| [`Type`](https://sparkar.facebook.com/docs/ar-studio/reference/enums/touchgesturesmodule.gesture.type)   | The `Type` enum describes a touch gesture.       |
