# MoveTo(Vector2)

> Begins a new sub-path at the provied coordinate.

## Definition

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

```csharp
public void MoveTo(Vector2 pos)
```

### Parameters

**** (\[Vector2]\(/engine/6000.3/script-reference/unityengine/vector2)): The position of the new sub-path in the local space of the VisualElement or the VectorImage.
