# Sandbox.Gizmo.GizmoControls.Rotate

## Overload 1

```csharp
bool Rotate(string name, Rotation value, out Rotation newValue)
```

A full 3d rotation gizmo. If rotated will return true and newValue will be the new rotation.

### Parameters

- `name` (`string`)
- `value` (`Rotation`)
- `out newValue` (`Rotation`)

### Returns

`bool`

## Overload 2

```csharp
bool Rotate(string name, out Angles outValue)
```

> **Obsolete.** Use Rotate( string name, out Rotation outValue ) and WorldRotation = outValue rather than *=

### Parameters

- `name` (`string`)
- `out outValue` (`Angles`)

### Returns

`bool`

Declared in [Sandbox.Gizmo.GizmoControls](/api/Sandbox.Gizmo.GizmoControls).
Assembly: `Sandbox.Engine`.
