# Connect Shape

{% tabs %}
{% tab title="Shape" %}
[Common Attributes](https://scenegroup.gitbook.io/cavalry/nodes/shapes/common-attributes) +

**Mode** - set the mode for the connections.

* **Within Range** - have connections created if points fall within a **Search Distance**.
* **Nearest** - connect the **Source** points to the **Target** points closest to them.&#x20;
* **Point Index** - connect the point index of the **Source** to the **Target**.

**Time Offset** - connect a Behaviour to this attribute (such as a Stagger) to offset any animation you have on the connection lines (e.g Stroke trim).

**Search Distance** - when points come within this distance they will connect (depending on other settings)

**Connection Limit** - set the maximum number of connections that can be made.

**Per Point Connection Limit** - set the maximum number of connections that can be from each point.

**Skip Points** - ignore every nth point.

**Skip Offset** - offset the skip by this value.

**Line Type** - set the type of line for the connections.

* **Linear** - a straight line.
* **Bezie**r - a curved line.

**Source Bezier Bias** - set the amount of curve at the Source point end.

**Target Bezier Bias** - set the amount of curve at the Target point end.
{% endtab %}

{% tab title="Source" %}
Set the [Distribution Type](https://scenegroup.gitbook.io/cavalry/user-interface/general/distribution-types).

**Ignore Target Distribution** - when checked, the **Source** points will connect to each other rather than looking for a **Target**.
{% endtab %}

{% tab title="Target" %}
Set the [Distribution Type](https://scenegroup.gitbook.io/cavalry/user-interface/general/distribution-types).
{% endtab %}
{% endtabs %}
