# GetPrefabInstanceStatus(Object)

> Determines whether a Prefab instance is properly connected to its asset.

## Definition

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

```csharp
public static PrefabInstanceStatus GetPrefabInstanceStatus(Object componentOrGameObject)
```

### Parameters

**** (\[Object]\(/engine/6000.3/script-reference/unityengine/object)): An object that is part of a Prefab instance.

### Returns

| Type                                                                                        | Description                        |
| ------------------------------------------------------------------------------------------- | ---------------------------------- |
| [PrefabInstanceStatus](/engine/6000.3/script-reference/unityeditor/prefabinstancestatus.md) | The status of the Prefab instance. |
