# SelectionMethod enum

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

```cs
public enum SelectionMethod
```

Defines enumerated values for several kinds of selection methods.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Other | 0 | Selected by non-mouse method (SelAll, etc.) |
| MousePick | 1 | Selected by a mouse click on the object. |
| WindowBox | 2 | Selected by a mouse selection window box. Window selection indicates the object is completely contained by the selection rectangle. |
| CrossingBox | 3 | Selected by a mouse selection crossing box. A crossing selection indicates the object intersects with the selection rectangle. |
