# Connect

## Connect(NodeEditor, SerializedProperty, PortFieldAssignor)

public bool Connect(NodeEditor nodeEditor, SerializedProperty componentProperty, PortFieldAssignor portFieldAssignor) ;

### Description

Connect to the port being dragged when the node component is created

### Parameters

Parameter Name | Description
--- | ---
nodeEditor | Node Editor
componentProperty | NodeComponent property
portFieldAssignor | Port assignment

### Returns

Returns true if connected. If not, return false.