# IsPlatformEnabled(RuntimePlatform)

> Returns whether a specific platform is enabled.

## Definition

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

> **Warning:**
>
> **Deprecated.** No longer supported and will always return true

```csharp
public static bool IsPlatformEnabled(RuntimePlatform platform)
```

### Parameters

**** (\[RuntimePlatform]\(/engine/6000.6/script-reference/unityengine/runtimeplatform)): The platform to check.

### Returns

| Type                                                          | Description               |
| ------------------------------------------------------------- | ------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Boolean for the platform. |
