---
title: "Path.Element.move(to:)"
framework: swiftui
role: symbol
role_heading: Case
path: "swiftui/path/element/move(to:)"
---

# Path.Element.move(to:)

A path element that terminates the current subpath (without closing it) and defines a new current point.

## Declaration

```swift
case move(to: CGPoint)
```

## See Also

### Getting path elements

- [Path.Element.closeSubpath](swiftui/path/element/closesubpath.md)
- [Path.Element.curve(to:control1:control2:)](swiftui/path/element/curve(to:control1:control2:).md)
- [Path.Element.line(to:)](swiftui/path/element/line(to:).md)
- [Path.Element.quadCurve(to:control:)](swiftui/path/element/quadcurve(to:control:).md)
