# options

> The BuildOptions flags to apply when building the Player.

## Definition

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

```csharp
public BuildOptions options { readonly get; set; }
```

### Remarks

Set this property to a bitwise combination of [BuildOptions](/engine/6000.5/script-reference/unityeditor/buildoptions.md) values before you pass [BuildPlayerOptions](/engine/6000.5/script-reference/unityeditor/buildplayeroptions.md) to [BuildPipeline.BuildPlayer](/engine/6000.5/script-reference/unityeditor/buildpipeline/buildplayer.md). For example, set `options = BuildOptions.Development | BuildOptions.AutoRunPlayer` to create a development build and run it automatically after the build completes.
