# TreeSearchInstruction enum

Namespace: [Grasshopper2.Geometry.SpatialTree](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.geometry.spatialtree.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum TreeSearchInstruction
```

Enumerates the possible instructions for a recursive tree search.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Reject | 0 | Indicates the region can be rejected in its entirety. |
| Include | 1 | Indicates the region can be included in its entirety. |
| Recurse | 2 | Indicates the region must be searched with a higher level of detail. |
