# RevertAllDownToGroup(int)

> Performs all undo operations up to the group index without storing a redo operation in the process.

## Definition

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

```csharp
public static void RevertAllDownToGroup(int group)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Remarks

Additional Resources: [Undo.GetCurrentGroup](/engine/6000.0/script-reference/unityeditor/undo/getcurrentgroup.md).
