# pressHandle

Starts a gesture when a press at `at` lands on a handle, or returns null
for a press on the bare map. Both map adapters use this, so a press means
the same on either.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { pressHandle } from "@mapcairn/core";
 
function pressHandle(handles: readonly ProjectedHandle[], at: PixelPoint, pointer: HandlePointer): HandleGesture | null;
```

## Parameters

- `handles` (`readonly ProjectedHandle[]`)
- `at` (`PixelPoint`)
- `pointer` (`HandlePointer`)

## Returns

`HandleGesture | null`

## See also

- [`ProjectedHandle`](https://docs.mapcairn.com/api/core/ProjectedHandle.md)
- [`PixelPoint`](https://docs.mapcairn.com/api/core/PixelPoint.md)
- [`HandlePointer`](https://docs.mapcairn.com/api/core/HandlePointer.md)
- [`HandleGesture`](https://docs.mapcairn.com/api/core/HandleGesture.md)

Source: [packages/core/src/draw/gesture.ts:48](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/draw/gesture.ts#L48)
