# `GSPenProtocol moveTo:`

*Instance Method*

Begin a new sub path, set the current point to ‘pt’. You must end each sub path with a call to pen.closePath() or pen.endPath().

## Declaration

```swift
func movePen(to pt: NSPoint)
```

```objc
- (void) moveTo:(NSPoint) pt;
```

```python
moveTo_(pt: NSPoint)
```

