# Hand Tracking Finger Gesture Tracking

## *(MetaXR uses the equivalent scripts with the MetaXR name)*

## Hand Finger Gesture Tracker

This class tracks the state of fingers touching each other. It detects finger touch events and triggers corresponding start and stop events. It is used to monitor the state of finger touches and manage touch-related gestures.

<figure><img src="/files/2cg7wmHziPn2z2iz6nex" alt=""><figcaption></figcaption></figure>

**`Hand Tracking`**: Reference to the hand tracking system.

**`Finger Tip Scale`**: Scale factor for the finger tip size during touch detection.

**`Finger Touch Event Delay`**: Delay in seconds before triggering a finger touch event.

**`On Finger Touch Start`**: Event triggered when a finger touch starts.

**`On Finger Touch Stop`**: Event triggered when a finger touch stops.

## Hand Finger Gesture Event

This class handles the events for finger gestures, triggering Unity Events when specific fingers start or stop touching each other. It links touch gestures to Unity events, allowing for custom behavior in response to finger touches.

<figure><img src="/files/CPT8ExxMwZrVyqYGbYCI" alt=""><figcaption></figcaption></figure>

**`Hand Finger Gesture Tracker`**: Reference to the hand finger gesture tracker.

**`Finger1`**: The first finger involved in the gesture event.

**`Finger2`**: The second finger or list of fingers allowed to trigger the gesture event.

**`On Finger Touch Start Event`**: Unity event triggered when a finger touch starts.

**`On Finger Touch Stop Event`**: Unity event triggered when a finger touch stops.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://earnest-robot.gitbook.io/auto-hand-docs/auto-hand/hand-tracking/hand-tracking-finger-gesture-tracking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
