# Camera.MoveForward method

Moves the camera along its viewing direction, leaving the target and the up direction unchanged.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](../index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public void MoveForward(float offset)
```

## Parameters

| name | type | description |
| --- | --- | --- |
| offset | `float` | The distance to move by. A positive value moves the camera toward its target. |

## See Also

* class [Camera](../Camera.md)
* namespace [Eremex.AvaloniaUI.Controls3D](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
