# Select(VisualElement, bool)

> Select element.

## Definition

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

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

### Parameters

**** (\[VisualElement]\(/engine/6000.7/script-reference/unityengine/uielements/visualelement)): Container in which selection is tracked.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): True if selection is additive. False otherwise.
