# IsObjectExcludedFromPresets(Object)

> Returns true if this Object is not available in the Preset system.

## Definition

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

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

```csharp
public static bool IsObjectExcludedFromPresets(Object target)
```

### Parameters

**** (\[Object]\(/engine/6000.6/script-reference/unityengine/object)):&#x20;

### Returns

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

### Remarks

Creating a Preset using an Object that is Excluded from Preset will reset in an invalid Preset (Preset.IsValid() == false) and will not be usable to ApplyTo or UpdateProperties with any type of Object.
