# GetNodeOption(int)

> Retrieves a node option using its zero-based index.

## Definition

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

```csharp
public INodeOption GetNodeOption(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the node option, based on display order.

### Returns

| Type                                                                                    | Description                             |
| --------------------------------------------------------------------------------------- | --------------------------------------- |
| [INodeOption](/engine/6000.6/script-reference/unity/graphtoolkit/editor/inodeoption.md) | The node option at the specified index. |

### Remarks

The index is zero-based.
