# ISceneUndoScope.WithGameObjectDestructions

## Overload 1

```csharp
ISceneUndoScope WithGameObjectDestructions(IEnumerable<GameObject> gameObjects)
```

### Parameters

- `gameObjects` (`IEnumerable<GameObject>`)

### Returns

`ISceneUndoScope`

## Overload 2

```csharp
ISceneUndoScope WithGameObjectDestructions(GameObject gameObject)
```

### Parameters

- `gameObject` (`GameObject`)

### Returns

`ISceneUndoScope`

Declared in [ISceneUndoScope](/api/ISceneUndoScope).
Assembly: `Sandbox.Engine`.
