# ClearCustomization()

> Clears all customization previously applied to the referenced node, removes any fill amount, and stops any looping animation.

## Definition

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

```csharp
public void ClearCustomization()
```

### Remarks

Resets the referenced node's accent bar to its inactive state. This call removes any fill amount previously set through [NodeReference.FillAmount](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graphvisualization/nodereference/fillamount.md) and stops any looping animation started through [GraphMotion.Play](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graphvisualization/graphmotion/play.md). If the current reference does not correspond to any node in the graph, any stored visual data for that node is removed and the call has no further effect. Throws ObjectDisposedException when you access this method after you call [Context.Dispose](/engine/6000.6/script-reference/unity/graphtoolkit/editor/graphvisualization/context/dispose.md) on the context.

Remove every visual override previously applied to a node and resets the referenced node's accent bar to its inactive state.

### Examples

```csharp
NodeReference node = context.GetNodeReference(nodeID);
node.ClearCustomization();
```
