# UndoPropertyModification

> Additional Resources: Undo.postprocessModifications.

## Definition

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

```csharp
public struct UndoPropertyModification
```

## Fields

| Value                                                                                                  | Description                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [currentValue](/engine/6000.6/script-reference/unityeditor/undopropertymodification/currentvalue.md)   | The current value of the modified property. Additional Resources: [PropertyModification](/engine/6000.6/script-reference/unityeditor/propertymodification.md).   |
| [previousValue](/engine/6000.6/script-reference/unityeditor/undopropertymodification/previousvalue.md) | The previous value of the modified property. Additional Resources: [PropertyModification](/engine/6000.6/script-reference/unityeditor/propertymodification.md) . |

## Properties

| Property                                                                                                         | Description                                                                                    |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| [keepPrefabOverride](/engine/6000.6/script-reference/unityeditor/undopropertymodification/keepprefaboverride.md) | Indicates whether to retain modifications when the targeted object is an instance of a Prefab. |
