# Select(VisualElement, bool)

> Select the GraphElement.

## Definition

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

```csharp
public virtual void Select(VisualElement selectionContainer, bool additive)
```

### Parameters

**** (\[VisualElement]\(/engine/6000.6/script-reference/unityengine/uielements/visualelement)): Container in which the GraphElement is being selected.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if selection is additive, false otherwise.
