# GetSteepness(float, float)

> Gets the gradient of the terrain at point (x,y). The gradient's value is always positive.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public float GetSteepness(float x, float y)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The normalized x-coordinate of the point, in the range \[0, 1].**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The normalized y-coordinate of the point, in the range \[0, 1].

### Returns

| Type                                                          | Description                                                         |
| ------------------------------------------------------------- | ------------------------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The steepness angle, in degrees, of the terrain at the given point. |

### Remarks

The `x` and `y` values are normalized coordinates in the range 0 to 1.
