# layer

> The GraphElement's layer in the graph.

## Definition

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

```csharp
public int layer { get; set; }
```
