# overridesDefaultSelection

> Whether the tool context overrides the scene selection.

## Definition

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

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

### Remarks

Set this property to true to allow the current [EditorToolContext](/engine/6000.5/script-reference/unityeditor/editortools/editortoolcontext.md) to override the regular selection in the scene. This prevents automatically exiting the context when you click on an empty area of the Scene view or on another GameObject. The default value is false.
