# GetCapability(WSACapability)

> Checks if the your project sets the specified UWP Capability.

## Definition

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

```csharp
public static bool GetCapability(PlayerSettings.WSACapability capability)
```

### Parameters

**** (\[WSACapability]\(/engine/6000.6/script-reference/unityeditor/playersettings/wsacapability)): [UWP Capability type](/engine/6000.6/script-reference/unityeditor/playersettings/wsacapability.md) to check.

### Returns

| Type                                                          | Description                                                                           |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if your project sets the specified capability. Otherwise, returns false. |

### Remarks

In the Editor, Unity displays this as a list of checkboxes under **Capabilities** in [UWP Player Settings](/engine/6000.6/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.
