# RegisterPropertyChangeUndo(string)

> Call this when you change a material property. It will add an undo for the action.

## Definition

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

```csharp
public void RegisterPropertyChangeUndo(string label)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Undo Label.
