# ArcTo(Vector2, Vector2, float)

> Adds an arc to the current sub-path to the provided position using a control point.

## Definition

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

```csharp
public void ArcTo(Vector2 p1, Vector2 p2, float radius)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): The first control point of the arc.**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): The final point of the arc.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The radius of the arc.
