# Portal Pin

<div align="left"><figure><img src="/files/FzDxnHH7IYoJ6crPjXbx" alt=""><figcaption><p>Portal Pin Example</p></figcaption></figure></div>

A **Portal Pin** is a feature that simplifies complex graph operations by allowing you to create a new node directly from an existing node's input or output pin. Portal Pin allows you to create more organized structure.

This feature is particularly useful in scenarios where certain nodes, such as a <mark style="color:yellow;">**`Tracking`**</mark>, need to be reused multiple times within a composition, leading to what is commonly known as Node spaghetti, can arise in a node-based application with numerous interconnected nodes.

### Portal Pin Creation Process

<div align="left"><figure><img src="/files/aS6cQprTuiHGcN0WbrQg" alt=""><figcaption><p>Copying an Output Pin</p></figcaption></figure></div>

* Right-clicking on an existing node's input or output pin and select **Copy Pin**.
* Open the **Node Creation** menu by right clicking on the nodegraph canvas.&#x20;

<div align="left"><figure><img src="/files/APQePZsV9QUsJzq0ezKp" alt=""><figcaption><p>Pin Node Button inside the Node Creation Menu</p></figcaption></figure></div>

* Click on the **Add Pin** button as illustrated above.

Selecting this option generates a new node that functions either as an input or output pin, depending on the origin of the Portal Pin creation.

### Portal Pin Types

* **Input Portal Pin:** If created from an input pin, the Portal Pin generates a new node that functions as an input, streamlining the connection process for that specific input type.
* **Output Portal Pin:** If created from an output pin, the Portal Pin generates a new node that functions as an output, allowing you to easily reproduce the output of a particular node throughout the composition.


---

# 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://zerodensitydocumentation.gitbook.io/docs/reality-5.3-sp1/reality-5.3-sp1/user-guide/nodegraph-actions/nodegraph/portal-pin.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.
