# GetPrefabType(Object)

> Given an object, returns its Prefab type (None, if it's not a Prefab).

## Definition

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

> **Warning:**
>
> **Deprecated.** Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.

```csharp
public static PrefabType GetPrefabType(Object target)
```

### Parameters

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

### Returns

| Type                                                                    | Description |
| ----------------------------------------------------------------------- | ----------- |
| [PrefabType](/engine/6000.7/script-reference/unityeditor/prefabtype.md) |             |

### Remarks

Additional Resources: The PrefabType enumeration for information on the possible return values.
