# `GSPenProtocol moveTo:connection:selected:attributes:`

*Instance Method*

## Declaration

```swift
optional func move(to pt: NSPoint, connection: GSNode.Connection, selected: Bool, attributes: [AnyHashable : Any]! = [:])
```

```objc
- (void) moveTo:(NSPoint) pt connection:(GSNodeConnection) connection selected:(BOOL) selected attributes:(NSDictionary *) attributes;
```

```python
moveTo_connection_selected_attributes_(pt: NSPoint, connection: GSNodeConnection, selected: bool, attributes: dict)
```

