# Sandbox.SelectionSystem.Contains

```csharp
bool Contains(object obj)
```

Checks if an object is in the selection.

### Parameters

- `obj` (`object`): The object to check

### Returns

`bool`: True if the object is selected

Declared in [Sandbox.SelectionSystem](/api/Sandbox.SelectionSystem).
Assembly: `Sandbox.System`.
