# WaterVolumeInteractionOptions

Collider-response controls for water driven by a shared interaction world.

These are the water side of the contract: the world publishes where each
collider is and how fast it is moving, and these values decide what the
fluid does about it. They are independent of the per-source `friction` and
`restitution` carried by a [`GPUInteractionWorld`](/docs/api/GPUInteractionWorld/) source — for water,
the simulation-side values below are the ones that apply.

[Water](/docs/blocks/water/)

## Import

```ts
import type { WaterVolumeInteractionOptions } from "three-blocks/water";
```

## Declaration

```ts
interface WaterVolumeInteractionOptions
```

## Members

### `enabled`

```ts
enabled?: boolean | undefined;
```

Respond to shared colliders at all; defaults to `true`.

### `layer`

```ts
layer?: number | undefined;
```

Interaction layer bits this volume occupies; defaults to `1`.

### `mask`

```ts
mask?: number | undefined;
```

Interaction mask bits this volume senses; defaults to every bit.

### `friction`

```ts
friction?: number | undefined;
```

Tangential fraction removed on contact; defaults to `0`, so water slides.

### `restitution`

```ts
restitution?: number | undefined;
```

Approach fraction reflected on contact; defaults to `0`, so impacts are absorbed.

### `particleRadius`

```ts
particleRadius?: number | undefined;
```

Particle radius at which the response triggers, in world units; defaults to `0`.

### `pushRate`

```ts
pushRate?: number | undefined;
```

Separation speed gained per world unit of penetration; defaults to `30`.

### `maxSeparationSpeed`

```ts
maxSeparationSpeed?: number | undefined;
```

Cap on the separation speed, in world units per second; defaults to `6`.

## Referenced by

[`WaterVolume`](/docs/api/WaterVolume/) · [`WaterVolumeOptions`](/docs/api/WaterVolumeOptions/)
