# GetNodeReference(Hash128)

> Returns a NodeReference that identifies the node with the given ID within this visualization context.

## Definition

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

```csharp
public NodeReference GetNodeReference(Hash128 nodeID)
```

### Parameters

**** (Hash128): The unique identifier of the node to reference.

### Returns

| Type                                                                                                           | Description                                                                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [NodeReference](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/nodereference.md) | A [NodeReference](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/nodereference.md) that targets the node identified by `nodeID` within this [Context](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/context.md). |

### Remarks

The returned [NodeReference](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/nodereference.md) is only meaningful for this [Context](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/context.md) and references the node by its ID rather than by direct lookup. The node doesn't need to exist in the current graph canvas at the time of this call. Throws ObjectDisposedException when you access this property after you call [Context.Dispose](/engine/6000.7/script-reference/unity/graphtoolkit/editor/graphvisualization/context/dispose.md) on the context. Throws ArgumentException when you provide an invalid `nodeID`.

### Examples

```csharp
NodeReference nodeRef = context.GetNodeReference(nodeID);
nodeRef.FillAmount = 75f;
```
