# HasSubtarget

> Indicates whether or not the associated BuildTarget has a subtarget specified.

## Definition

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

```csharp
public readonly bool HasSubtarget { get; }
```
