# FullScreenMode

> Options for the application's full-screen mode, such as windowed or exclusive full-screen. For information on platform compatibility, refer to the description of each mode.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public enum FullScreenMode
```

## Remarks

Use this enum with [Screen.fullScreenMode](/engine/6000.0/script-reference/unityengine/screen/fullscreenmode.md) to query or change the application's full-screen mode at runtime. To set the default mode that the Player uses at startup, use [PlayerSettings.fullScreenMode](/engine/6000.0/script-reference/unityeditor/playersettings/fullscreenmode.md), or [PlayerSettings.Android.fullscreenMode](/engine/6000.0/script-reference/unityeditor/playersettings/android/fullscreenmode.md) on Android.

The following example sets the application's full-screen mode at runtime from a [MonoBehaviour](/engine/6000.0/script-reference/unityengine/monobehaviour.md) component attached to an active GameObject in the scene. Unity applies the new mode at the end of the current frame.

Additional Resources: [Screen.fullScreenMode](/engine/6000.0/script-reference/unityengine/screen/fullscreenmode.md), [PlayerSettings.fullScreenMode](/engine/6000.0/script-reference/unityeditor/playersettings/fullscreenmode.md), [PlayerSettings.Android.fullscreenMode](/engine/6000.0/script-reference/unityeditor/playersettings/android/fullscreenmode.md).

## Examples

```csharp
using UnityEngine;

public class FullScreenModeExample : MonoBehaviour
{
    void Start()
    {
        // Switch to borderless full-screen window mode.
        Screen.fullScreenMode = FullScreenMode.FullScreenWindow;
    }
}
```

## Fields

| Value                                                                                                    | Description                                                                                                          |
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [ExclusiveFullScreen](/engine/6000.0/script-reference/unityengine/fullscreenmode/exclusivefullscreen.md) | Windows platforms only. Sets your application so it has sole full-screen use of a display.                           |
| [FullScreenWindow](/engine/6000.0/script-reference/unityengine/fullscreenmode/fullscreenwindow.md)       | All platforms. Sets your application window to the full-screen native display resolution, covering the whole screen. |
| [MaximizedWindow](/engine/6000.0/script-reference/unityengine/fullscreenmode/maximizedwindow.md)         | Windows and macOS platforms only. Sets your application window to the operating system's definition of maximized.    |
| [Windowed](/engine/6000.0/script-reference/unityengine/fullscreenmode/windowed.md)                       | Desktop platforms only. Sets your application to a standard, movable window that's not full screen.                  |
