# OnStartDragging(GraphElement)

> This method is automatically called when an element of the stack is about to be dragged out of it.

## Definition

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

```csharp
public virtual void OnStartDragging(GraphElement ge)
```

### Parameters

**** (\[GraphElement]\(/engine/6000.6/script-reference/unityeditor/experimental/graphview/graphelement)): The GraphElement that is being dragged out of the stack.
