# Editor.EditorUtility.Prefabs.GetOuterMostPrefabName

```csharp
static string GetOuterMostPrefabName(object obj)
```

Returns the name of the prefab file that this GameObject or Component is an instance of.

### Parameters

- `obj` (`object`)

### Returns

`string`

Declared in [Editor.EditorUtility.Prefabs](/api/Editor.EditorUtility.Prefabs).
Assembly: `Sandbox.Tools`.
