# GetDefaultForObject(Object)

> Returns the current default Preset assigned to the same Object type. Returns null if there is no matching default.

## Definition

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

> **Warning:**
>
> **Deprecated.** Use GetDefaultPresetsForObject to get the full ordered list of default Presets that would be applied to that Object

```csharp
public static Preset GetDefaultForObject(Object target)
```

### Parameters

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

### Returns

| Type                                                                    | Description |
| ----------------------------------------------------------------------- | ----------- |
| [Preset](/engine/6000.7/script-reference/unityeditor/presets/preset.md) |             |
