# SetCapability(WSACapability, bool)

> Includes or removes the specified UWP Capability in the Universal Windows Platform build.

## Definition

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

```csharp
public static void SetCapability(PlayerSettings.WSACapability capability, bool value)
```

### Parameters

**** (\[WSACapability]\(/engine/6000.5/script-reference/unityeditor/playersettings/wsacapability)): [UWP Capability type](/engine/6000.5/script-reference/unityeditor/playersettings/wsacapability.md) to change.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True to include the Capability in the UWP build or false to remove it.

### Remarks

In the Editor, Unity displays this as a list of checkboxes under **Capabilities** in [UWP Player Settings](/engine/6000.5/manual/platform-specific/windows-store/uwp-getting-started/class-player-settings-wsa.md). **Important:** Unity writes these settings to the package manifest when it builds Universal Windows Platform for the first time. Building into an existing Universal Windows Platform build folder does not update the package manifest and does not apply any changes.
