# TouchContact

`import { TouchContact } from "destack:input/binding";`

Touch contact snapshot.

```ds title="TouchContact"
export struct TouchContact {
    contactId: uint32;
    phase: TouchPhase;
    x: float64;
    y: float64;
    pressure: float64;
    radiusX: float64;
    radiusY: float64;
    tiltX: float64;
    tiltY: float64;
}
```

[language/library/src/input/binding/touch.ds:18:37](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/touch.ds#L18-L37)

## Members

### `contactId: uint32`

Host contact identifier.

### `phase: TouchPhase`

Contact phase.

### `x: float64`

Contact x coordinate in host-native units.

### `y: float64`

Contact y coordinate in host-native units.

### `pressure: float64`

Contact pressure in the normalized range `[0, 1]` when available.

### `radiusX: float64`

Contact major radius in host-native units when available.

### `radiusY: float64`

Contact minor radius in host-native units when available.

### `tiltX: float64`

Contact tilt around the x axis in degrees when available.

### `tiltY: float64`

Contact tilt around the y axis in degrees when available.
