# TerrainWhere

> Talos next · Since 0.6

A filter on height, slope and named channels, with a soft edge, choosing where a material rule applies.

## Fields

| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| `heightM` | `Vec2` | no |  |  | Keep ground whose height is in [lo, hi] metres. |
| `slopeDeg` | `Vec2` | no |  |  | Keep ground whose slope is in [lo, hi] degrees. |
| `channels` | `object` | no |  |  | Channel name to its [lo, hi] (0..1). |
| `falloff` | `number` | no | `0` |  | Soft edge as a fraction of each range. Default 0.1. |

## See also

- `Vec2`
