# GumballAlignment enum

Namespace: [Rhino.ApplicationSettings](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.applicationsettings.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public enum GumballAlignment
```

Specifies the plane the gumball aligns itself to.

## Values

| Name | Value | Description |
| --- | --- | --- |
| WorldPlane | 0 | Aligns the gumball to the world axes. |
| ConstructionPlane | 1 | Aligns the gumball to the construction plane of the active viewport. |
| ViewPlane | 2 | Aligns the gumball to the plane of the active viewport. |
| ObjectPlane | 3 | Aligns the gumball to the object. |
| ControlPolygon | 4 | Aligns the gumball to the control polygon of the object. [GumballAlignment.ObjectPlane](https://developer.rhino3d.com/api/rhinocommon/type/rhino.applicationsettings.gumballalignment.md) when no control polygon frame can be made. |
