# SetValue(in HierarchyNode, string)

> Sets the property value for a HierarchyNode.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Hierarchy](/engine/6000.5/script-reference/unity/hierarchy.md)
* **Assembly:** UnityEngine.HierarchyCoreModule

## SetValue(HierarchyNode, string)

```csharp
public void SetValue(in HierarchyNode node, string value)
```

### Parameters

**** (\[HierarchyNode]\(/engine/6000.5/script-reference/unity/hierarchy/hierarchynode)): The hierarchy node.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The value to set.
