# enableHeadlessMode

> Whether the standalone player is built in headless mode.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use EditorUserBuildSettings.standaloneBuildSubtarget instead.

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

### Remarks

Sets the [BuildOptions.EnableHeadlessMode](/engine/6000.0/script-reference/unityeditor/buildoptions/enableheadlessmode.md) option.
