# keepPrefabOverride

> Indicates whether to retain modifications when the targeted object is an instance of a Prefab.

## Definition

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

```csharp
public bool keepPrefabOverride { get; set; }
```
