# Hide(Type)

> Hides a set of windows that generate insets.

## Definition

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

```csharp
public void Hide(AndroidWindowInsets.Type type)
```

### Parameters

**** (\[Type]\(/engine/7000.0/script-reference/unityengine/android/androidwindowinsets/type)): The set of window insets to hide, as a bitwise combination of [AndroidWindowInsets.Type](/engine/7000.0/script-reference/unityengine/android/androidwindowinsets/type.md) values.

### Remarks

Use this method to hide the system bars, allowing your application to use the available screen space when in full-screen mode.

This method has no effect on [AndroidWindowInsets.Type.CaptionBar](/engine/7000.0/script-reference/unityengine/android/androidwindowinsets/type/captionbar.md), because the system controls the visibility of the caption bar.

Additional Resources: [AndroidApplication.onWindowInsetsChanged](/engine/7000.0/script-reference/unityengine/android/androidapplication/onwindowinsetschanged.md), [AndroidApplication.currentWindowInsets](/engine/7000.0/script-reference/unityengine/android/androidapplication/currentwindowinsets.md), [Type](/engine/7000.0/script-reference/unityengine/android/androidwindowinsets/type.md)

### Examples

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

public class Controller : MonoBehaviour
{
    public void Start()
    {
        AndroidApplication.currentWindowInsets.Hide(AndroidWindowInsets.Type.NavigationBars | AndroidWindowInsets.Type.StatusBars);
    }
}
```
