# keepPrefabOverride

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

## Definition

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

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