# Sandbox.Gizmo.GizmoControls.DragSquare

```csharp
bool DragSquare(string name, Vector2 size, Rotation rotation, out Vector3 movement, System.Action drawHandle = null)
```

Manipulate a 2d value by moving on 2 axis

### Parameters

- `name` (`string`)
- `size` (`Vector2`)
- `rotation` (`Rotation`)
- `out movement` (`Vector3`)
- `drawHandle` (`System.Action`), default `null`

### Returns

`bool`

Declared in [Sandbox.Gizmo.GizmoControls](/api/Sandbox.Gizmo.GizmoControls).
Assembly: `Sandbox.Engine`.
