# overridesDefaultSelection

> Defines if the context is overriding the scene selection.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.EditorTools](/engine/6000.3/script-reference/unityeditor/editortools.md)
* **Assembly:** UnityEditor

```csharp
public virtual bool overridesDefaultSelection { get; }
```

### Remarks

Set this property to true to allow the current [EditorToolContext](/engine/6000.3/script-reference/unityeditor/editortools/editortoolcontext.md) to take over the regular selection in the scene. This prevents to automatically exit the context when clicking in empty places or other game objects. The default value is false.
