# Get

> Retrieves the conditions nested in this group.

## Definition

* **Type:** Method
* **Namespace:** [Unity.GraphToolkit.Editor](/engine/6000.7/script-reference/unity/graphtoolkit/editor.md)
* **Assembly:** UnityEditor

## Get()

Retrieves the conditions nested in this group.

```csharp
IEnumerable<ICondition> Get()
```

### Returns

| Type                                                                                                        | Description                                                   |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [IEnumerable\<ICondition>](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1) | The nested conditions, in the order they appear in the group. |

## Get(int)

Retrieves the condition at the specified index.

```csharp
ICondition Get(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The zero-based index of the condition to retrieve.

### Returns

| Type                                                                                  | Description                           |
| ------------------------------------------------------------------------------------- | ------------------------------------- |
| [ICondition](/engine/6000.7/script-reference/unity/graphtoolkit/editor/icondition.md) | The condition at the specified index. |

### Remarks

Throws ArgumentOutOfRangeException when the index is less than 0 or greater thanor equal to [IGroupCondition.Count](/engine/6000.7/script-reference/unity/graphtoolkit/editor/igroupcondition/count.md)
