# Set

> Exposes an extra input port for writing a new value to the variable directly in the graph.

## Definition

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

```csharp
Set = 1
```

### Remarks

Only valid for variables of kind [VariableKind.Local](/engine/6000.7/script-reference/unity/graphtoolkit/editor/variablekind/local.md).
