# XrFinger

Class · category: XR

Source: https://github.com/playcanvas/engine/blob/b5b983982a9860d21e0c1dafb2f85f72e2c01afb/src/framework/xr/xr-finger.js#L11

Represents a finger of a tracked [XrHand](https://api.playcanvas.com/engine/classes/XrHand.md) with related joints and index.

## Accessors

### hand

```ts
get hand(): XrHand
```

Gets the hand that the finger belongs to.

### index

```ts
get index(): number
```

Gets the index of the finger. Enumeration is: thumb, index, middle, ring, little.

### joints

```ts
get joints(): XrJoint[]
```

Array of joints that belong to this finger, starting from joint closest to wrist all the way
to the tip of a finger.

### tip

```ts
get tip(): XrJoint | null
```

Tip joint of the finger, or null if not available.
