# offsetZ

> How far should the text be offset from the transform.position.z when drawing.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public float offsetZ { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        GetComponent<TextMesh>().offsetZ = 5;
    }
}
```
