# GetNodeAtPosition(int)

> Get the query node located at the specified index position in the query.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public IQueryNode GetNodeAtPosition(int position)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The position of the query node in the text.

### Returns

| Type                                                                           | Description    |
| ------------------------------------------------------------------------------ | -------------- |
| [IQueryNode](/engine/6000.7/script-reference/unityeditor/search/iquerynode.md) | An IQueryNode. |
