# SetVector(string, Vector4)

> Sets a vector property value by name.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.5/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public void SetVector(string name, Vector4 value)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The property name of the vector value.**** (\[Vector4]\(/engine/6000.5/script-reference/unityengine/vector4)): The vector value to set.
