# GetPosition()

> Get the GraphElement position.

## Definition

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

```csharp
public virtual Rect GetPosition()
```

### Returns

| Type                                                        | Description                         |
| ----------------------------------------------------------- | ----------------------------------- |
| [Rect](/engine/6000.5/script-reference/unityengine/rect.md) | Returns the position and size rect. |
