# InputEventTouch

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

Input touch event.

```ds title="InputEventTouch"
export struct InputEventTouch {
    kind: "touch";
    header: InputEventHeader;
    action: InputEventAction;
    pointerId: uint64;
    isPrimary: boolean;
    x: float64;
    y: float64;
    space: CoordinateSpace;
    pressure: float64;
    contact: PointerContact;
    tiltX: float64;
    tiltY: float64;
    twist: float64;
}
```

[language/library/src/input/binding/event.ds:276:303](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/event.ds#L276-L303)

## Members

### `kind: "touch"`

Event discriminator.

### `header: InputEventHeader`

Shared event header.

### `action: InputEventAction`

Event action.

### `pointerId: uint64`

Stable pointer identifier.

### `isPrimary: boolean`

Whether this is the primary touch point.

### `x: float64`

Touch x coordinate.

### `y: float64`

Touch y coordinate.

### `space: CoordinateSpace`

Coordinate space.

### `pressure: float64`

Touch pressure when available.

### `contact: PointerContact`

Contact geometry when available.

### `tiltX: float64`

Touch tilt around the x axis when available.

### `tiltY: float64`

Touch tilt around the y axis when available.

### `twist: float64`

Touch rotation when available.
