> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/long-press-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/long-press-hook/advanced/options/callbacks/press-started.md).

# Press started

When element is initially pressed

#### Name

`onStart`

#### Type

{% code title="Javascript" %}

```javascript
(event, meta) => void
```

{% endcode %}

{% code title="TypeScript" %}

```typescript
(
  event: 
  | ReactMouseEvent<Target>
  | ReactTouchEvent<Target>
  | ReactPointerEvent<Target>,
  meta: { context?: Context; reason?: LongPressCallbackReason }
) => void
```

{% endcode %}

#### Default value

`undefined`

#### Description

Called when element is initially clicked / touched / pointed, before starting to count down [threshold](/long-press-hook/advanced/options/configuration/long-press-threshold.md) time
