# ISelection

> Selection interface.

## Definition

* **Type:** Interface
* **Namespace:** [UnityEditor.Experimental.GraphView](/engine/6000.5/script-reference/unityeditor/experimental/graphview.md)
* **Assembly:** UnityEditor

```csharp
public interface ISelection
```

## Properties

| Property                                                                                                | Description        |
| ------------------------------------------------------------------------------------------------------- | ------------------ |
| [selection](/engine/6000.5/script-reference/unityeditor/experimental/graphview/iselection/selection.md) | Get the selection. |

## Methods

| Method                                                                                                                      | Description                    |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
| [AddToSelection](/engine/6000.5/script-reference/unityeditor/experimental/graphview/iselection/addtoselection.md)           | Add element to selection.      |
| [ClearSelection](/engine/6000.5/script-reference/unityeditor/experimental/graphview/iselection/clearselection.md)           | Clear selection.               |
| [RemoveFromSelection](/engine/6000.5/script-reference/unityeditor/experimental/graphview/iselection/removefromselection.md) | Remove element from selection. |
