# ObjectSelection enum

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum ObjectSelection
```

Enumerates the defined object selection states. In the future more values may be added to this enum to reflect more subtle selection states.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Unselected | 0 | Object is not selected. |
| Selected | 1 | Object is selected. |
