# `Events.click`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Property of [`Events`](Events.md) · stable · since 2.0.0

```ts
'click': {
  readonly at: ScreenPoint;
  readonly hit: Hit | null;
};
```

A click or tap on the canvas. A touch tap runs one pick and fires one 'click' (never a second,
synthetic one). None follows a drag that moved. A mouse or pen press is a click when it is
released within 6 CSS px of where it went down, and a touch is a tap when it lifts within
10 CSS px and 300 ms, as in 1.x; farther, it was an orbit or a drag and fires none. Not a
state event: no `cause`.

## Fields

<a id="at"></a>
### `at`

```ts
readonly at: ScreenPoint;
```

<a id="hit"></a>
### `hit`

```ts
readonly hit: Hit | null;
```

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `click` names no product |
| 2. A precedent | pass: [Pointer events](https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events) (row `K46`) |
| 3. Two apps, or labs | pass: 23 apps (ledger: app-b4ae2fce25, app-ddfb017681, app-fc306ec3dc; fleet cross-check: app-04c2774145, app-0c773a4ee3, app-37356bf09f, app-378d190f1b, app-4762caacdc, app-4fd23bc869, app-822bb9d6aa, app-8675b3225c and 13 more) |
| 4. The cheaper fix first | decided per need in Appendix B: rows `K46` at tier stable (a member only where no rule, data, asset or app code serves the need) |
