# GetTopZOrder()

> Retrieves the ZOrder value greater than the top-most placemat. For example, if the top-most placemat has a ZOrder value of 10, this method returns 11.

## Definition

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

```csharp
public int GetTopZOrder()
```

### Returns

| Type                                                       | Description             |
| ---------------------------------------------------------- | ----------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | Returns a ZOrder value. |
