# Editor.BoxSelection.Apply

```csharp
static void Apply(SelectionSystem selection, HashSet<GameObject> inside, bool add, bool remove)
```

### Parameters

- `selection` (`SelectionSystem`)
- `inside` (`HashSet<GameObject>`)
- `add` (`bool`)
- `remove` (`bool`)

Declared in [Editor.BoxSelection](/api/Editor.BoxSelection).
Assembly: `Sandbox.Tools`.
