> ## Documentation Index
> Fetch the complete documentation index at: https://docs.endstate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# endstate.captureTap

> Runs the highest-priority available source. Call it inside a user gesture.

```ts theme={null}
captureTap(options?: CaptureTapOptions): Promise<TapResult | null>
```

## Example

```ts theme={null}
const tap = await endstate.captureTap();
if (tap) await endstate.verify(tap);
```
