# GetOverlapping()

> Returns which insets are currently configured to overlap with the application window.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Android](/engine/6000.7/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public AndroidWindowInsets.Type GetOverlapping()
```

### Returns

| Type                                                                                    | Description                                                                    |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [Type](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/type.md) | The bitmask of inset types that currently overlap with the application window. |

### Remarks

Returns a bitmask of inset types that are currently overlapping. When an inset is overlapping, the application window extends behind it and [\_safeArea](/engine/6000.7/script-reference/unityengine/screen/safearea.md) excludes the area it covers.

### Examples

```csharp
using UnityEngine;
using UnityEngine.Android;

public class Controller : MonoBehaviour
{
    public void Start()
    {
        var overlapping = AndroidApplication.currentWindowInsets.GetOverlapping();
        Debug.Log("Status bar overlapping: " + overlapping.HasFlag(AndroidWindowInsets.Type.StatusBars));
        Debug.Log("Navigation bar overlapping: " + overlapping.HasFlag(AndroidWindowInsets.Type.NavigationBars));
    }
}
```
