# GetMesh()

> Returns the current mesh used to render the canvas content into.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public Mesh GetMesh()
```

### Returns

| Type                                                        | Description                      |
| ----------------------------------------------------------- | -------------------------------- |
| [Mesh](/engine/6000.7/script-reference/unityengine/mesh.md) | The current mesh for the canvas. |
