# startInFullscreen

> Start in fullscreen mode.

## Definition

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

> **Warning:**
>
> **Deprecated.** startInFullscreen is deprecated, use requestedVisibleInsets together with AndroidWindowInsetsType.NavigationBars.

```csharp
public static bool startInFullscreen { get; set; }
```

### Remarks

If not set, Android displays the navigation bar while your game loads.

### Examples

```csharp
using UnityEngine;
using UnityEditor;
using UnityEditor.Build;

public class StartInFullscreenSample : MonoBehaviour
{
    [MenuItem("Build/Start in Fullscreen Sample")]
    public static void BuildStartInFullscreenSample()
    {
        PlayerSettings.SetScriptingBackend(NamedBuildTarget.Android, ScriptingImplementation.IL2CPP);
        PlayerSettings.Android.targetArchitectures = AndroidArchitecture.ARM64;

        //Set startInFullScreen to true
        PlayerSettings.Android.startInFullscreen = true;

        BuildPlayerOptions options = new BuildPlayerOptions();
        options.scenes = new[] { "Assets/Scenes/SampleScene.unity" };
        options.locationPathName = "Build/AndroidBuild.apk";
        options.target = BuildTarget.Android;
        options.targetGroup = BuildTargetGroup.Android;
        BuildPipeline.BuildPlayer(options);
    }
}
```
