# Get

> Determines the node's ports from the variable's kind. This is the default mode.@@@@`

## Definition

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

```csharp
Get = 0
```

### Remarks

This mode is valid for all variable kinds. The port topology depends on the variable's kind:

For variables of kind [VariableKind.Local](/engine/6000.7/script-reference/unity/graphtoolkit/editor/variablekind/local.md) or [VariableKind.Input](/engine/6000.7/script-reference/unity/graphtoolkit/editor/variablekind/input.md), the node exposes an output port that provides the variable's value to connected nodes.

For variables of kind [VariableKind.Output](/engine/6000.7/script-reference/unity/graphtoolkit/editor/variablekind/output.md), the node exposes an input port. Connect a value to this port to specify what the subgraph returns to the parent graph for this variable.
