# IsHole(int, int)

> Gets whether a certain point at x,y is a hole.

## Definition

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

```csharp
public bool IsHole(int x, int y)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The x index of the point to query.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The y index of the point to query.

### Returns

| Type                                                          | Description                                                       |
| ------------------------------------------------------------- | ----------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the point at the given index is a hole. Otherwise, false. |
