# GetStaticBatchingForPlatform(BuildTarget)

> Returns true if static batching is enabled for the given BuildTarget.

## Definition

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

```csharp
public static bool GetStaticBatchingForPlatform(BuildTarget platform)
```

### Parameters

**** (\[BuildTarget]\(/engine/6000.7/script-reference/unityeditor/buildtarget)): BuildTarget to check if static batching is enabled for.

### Returns

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