# Sandbox.Painter.Translate

## Overload 1

```csharp
void Translate(Vector2 offset)
```

Moves the drawing origin along its current axes.

### Parameters

- `offset` (`Vector2`)

## Overload 2

```csharp
void Translate(float x, float y)
```

Moves the drawing origin along its current axes.

### Parameters

- `x` (`float`)
- `y` (`float`)

Declared in [Sandbox.Painter](/api/Sandbox.Painter).
Assembly: `Sandbox.Engine`.
