# Connections

You use connections to send values and object references between nodes.

## Creating a connection

* To connect two nodes, drag from an output port on one node to an input port on another node.

<figure><img src="/files/wo0N5a2KpvSI69tvQerk" alt=""><figcaption><p>Connecting two nodes</p></figcaption></figure>

## Invalid connections

In most cases, if you attempt to create an invalid connection, it will fail. For example, if you drag from a float output port to a vector3 input port, the connection will fail and disappear.

However, square ports accept any type, and the validity of the connection is not evaluated until after you provide all of the required inputs. For nodes with square input ports, the Unsupported Types message appears if you create an invalid connection.

<figure><img src="/files/dXxn46GCxgjbsfWM2Ue4" alt=""><figcaption><p>Invalid connections to a Greater Than node.</p></figcaption></figure>

## Removing a connection

To remove a connection, choose one of the following methods:

* Right-click a port at either end of the connection, and then select **Clear Connections**.
* Left-click the input port and drag the end of the connection to an empty area of the canvas.

<figure><img src="/files/1RQJIJJSQCIpzcrtztcf" alt=""><figcaption><p>Removing a connection</p></figcaption></figure>

## Adding points along a connection path

You can add points along the length of a connection path to provide greater control over its route. For example, you could adjust the route of a connection path so that it isn't hidden behind a node or doesn't overlap another connection path. These changes are for aesthetic reasons only and do not affect the connection.

* To add a point to a connection path, click the right mouse button while you drag to create a new connection.

<figure><img src="/files/3vGLC6uCQMb6k9VJ5R9d" alt=""><figcaption><p>A point added in the middle of a connection path</p></figcaption></figure>

After you create the connection, you can drag each point individually to adjust the path.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.engagevr.io/developer/afx/afx-graphs/connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
