---
title: "move(to:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uibezierpath/move(to:)"
---

# move(to:)

Moves the path’s current point to the specified location.

## Declaration

```swift
func move(to point: CGPoint)
```

## Parameters

- `point`: A point in the current coordinate system.

## Discussion

Discussion This method implicitly ends the current subpath (if any) and sets the current point to the value in the point parameter. When ending the previous subpath, this method does not actually close the subpath. Therefore, the first and last points of the previous subpath are not connected to each other. For many path operations, you must call this method before issuing any commands that cause a line or curve segment to be drawn.

## See Also

### Constructing a path

- [addLine(to:)](uikit/uibezierpath/addline(to:).md)
- [addArc(withCenter:radius:startAngle:endAngle:clockwise:)](uikit/uibezierpath/addarc(withcenter:radius:startangle:endangle:clockwise:).md)
- [addCurve(to:controlPoint1:controlPoint2:)](uikit/uibezierpath/addcurve(to:controlpoint1:controlpoint2:).md)
- [addQuadCurve(to:controlPoint:)](uikit/uibezierpath/addquadcurve(to:controlpoint:).md)
- [close()](uikit/uibezierpath/close().md)
- [removeAllPoints()](uikit/uibezierpath/removeallpoints().md)
- [append(_:)](uikit/uibezierpath/append(_:).md)
- [cgPath](uikit/uibezierpath/cgpath.md)
- [currentPoint](uikit/uibezierpath/currentpoint.md)
