# IsPresetExcludedFromDefaultPresets(Preset)

> Returns true if this Preset cannot be set as the default.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use PresetType.IsValidDefault instead.

```csharp
public static bool IsPresetExcludedFromDefaultPresets(Preset preset)
```

### Parameters

**** (\[Preset]\(/engine/6000.7/script-reference/unityeditor/presets/preset)):&#x20;

### Returns

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