# GetStrength

> Gets the strength at the passed in position.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.5/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

## GetStrength(int, int)

Gets the strength at the passed in position.

```csharp
public float GetStrength(int ix, int iy)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The x position of the brush offset.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The y position of the brush offset.

### Returns

| Type                                                          | Description                                     |
| ------------------------------------------------------------- | ----------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Returns the strength at the passed in position. |

## GetStrength(Vector2Int)

Gets the strength at the passed in position.

```csharp
public float GetStrength(Vector2Int position)
```

### Parameters

**** (\[Vector2Int]\(/engine/6000.5/script-reference/unityengine/vector2int)): The position of the brush offset.

### Returns

| Type                                                          | Description                                     |
| ------------------------------------------------------------- | ----------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | Returns the strength at the passed in position. |

### Remarks

**Note:** This method is an overloaded method using a `Vector2Int` instead of two separate ints for position.
