# Variable

> Retrieves the IVariable associated with the node.

## Definition

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

```csharp
IVariable Variable { get; }
```

### Remarks

The variable defines the node’s data type and is shared across all variable nodes that reference it. It is declared in the graph’s Blackboard.
