# Vector3.RotateAround

```csharp
Vector3 RotateAround(in Vector3 center, in Rotation rot)
```

Rotate this vector around given point by given rotation and return the result as a new vector.

See [Transform.RotateAround](/api/Transform/RotateAround) for similar method that also transforms rotation.

### Parameters

- `in center` (`Vector3`): Point to rotate around.
- `in rot` (`Rotation`): How much to rotate by. [Rotation.FromAxis](/api/Rotation/FromAxis) can be useful.

### Returns

`Vector3`: The rotated vector.

Declared in [Vector3](/api/Vector3).
Assembly: `Sandbox.System`.
