# contentOffset

> Pixel offset to apply to the content of this GUIstyle.

## Definition

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

```csharp
public Vector2 contentOffset { get; set; }
```

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    // Prints the value of contentOffset.

    void OnGUI()
    {
        Debug.Log(GUI.skin.button.contentOffset);
    }
}
```
