# willFlushUndoRecord

> Invoked before the Undo system performs a flush.

## Definition

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

```csharp
public static Undo.WillFlushUndoRecord willFlushUndoRecord
```

### Remarks

Additional Resources: [Undo.FlushUndoRecordObjects](/engine/6000.7/script-reference/unityeditor/undo/flushundorecordobjects.md).
