# CaptionBar

> Represents the area of the screen the caption bar occupies at the top of the application window.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/7000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
CaptionBar = 4
```

### Remarks

The caption bar contains the window title and the window controls. It only appears when the application window is displayed in a freeform or desktop windowing environment, and is empty otherwise.

The system controls the visibility of the caption bar, so including this value in [PlayerSettings.Android.requestedVisibleInsets](/engine/7000.0/script-reference/unityeditor/playersettings/android/requestedvisibleinsets.md) has no effect. Use [PlayerSettings.Android.requestedOverlappingInsets](/engine/7000.0/script-reference/unityeditor/playersettings/android/requestedoverlappinginsets.md) to control whether your application window extends behind the caption bar.
