# Sandbox.SelectionSystem.Clear

```csharp
void Clear()
```

Removes all objects from the selection, invoking OnItemRemoved for each.

Declared in [Sandbox.SelectionSystem](/api/Sandbox.SelectionSystem).
Assembly: `Sandbox.System`.
