# GetVector(string)

> Gets a vector property value by name.

## Definition

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

```csharp
public Vector4 GetVector(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The property name of the vector value.

### Returns

| Type                                                              | Description                                                                    |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [Vector4](/engine/6000.6/script-reference/unityengine/vector4.md) | The vector property stored for the specified name, or the zero vector if none. |
