# OvrNodeLinker

### Description

This Node is used to link [OvrNodes](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) together.&#x20;

* Linking [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) one to another
* Linking an [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) to/from a list of [OvrNodes](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) contained in a GameObject
* Linking an [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) to/from a list of [OvrNodes](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) contained in a GameObject created from  [OvrInstantiate](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/gameobject-interactions/ovrinstantiate.md)

These are chosen via [ActionType ](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/utility/ovrnodelinker/ovrnodelinkeractiontype.md)parameter.

{% hint style="info" %}
**Note**: The behavior of the link depends on the interaction between each node. By default, the [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) "To Link" will be added to the PreExecutionNodes list of the [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) "Where Link". Sometimes it will instead be associated with the main execution of the target node.
{% endhint %}

### Link to Node

The **OvrNodeToLink** will be linked to the **OvrNodeWhereLink**.

#### Attributes

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="150">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>OvrNodeToLink</td><td><a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a></td><td>Starting <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a>, to link.</td></tr><tr><td>OvrNodeWhereLink</td><td><a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a></td><td>Ending <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a>, where link.</td></tr></tbody></table>

![Example of OvrNodeLinker connecting two nodes, in this case, the "SetPos" node will be added to the PreExecutionNodes list of the "MoveBall" node.](/files/OpHCl7eM3SlzfwQRjEtw)

### Link GameObject

In this mode, depending on the selected [OvrNodeLinkType](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/utility/ovrnodelinker/ovrnodelinktype.md), an [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) will be linked to a list of [OvrNodes](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) identified by their Node Id inside a GameObject. Or, alternatively, a list of [OvrNodes](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md) identified by their Node Id inside a GameObject will be linked to an [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md).

#### Attributes

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="199.2246866720682">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>LinkGameObject</td><td>GameObject</td><td>Target GameObject</td></tr><tr><td>LinkType</td><td><a href="/pages/04wlbBiui82mjOsxTpdB">OvrNodeLinkType</a></td><td>Direction of linking process</td></tr><tr><td>OvrNodeLinks</td><td>[ <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a>, string [ ] ]</td><td>Collection of <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNodes</a>, paired with a list of strings, that correspond to the IDs of the <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNodes</a> that exist within the GameObject.</td></tr></tbody></table>

![Example of OvrNodeLinker connecting a node with a set of nodes inside a GameObject. In this case, a Target OvrNode called "throwNewEvent" will be linked to two nodes searched inside the "Target" GameObject. If the "Target" has in its Components a OvrNode with id "isApplePieReady", then "throwNewEvent" node will be correctly linked with it, same for "CookNewApplePie" node.](/files/EeYT2FHvMVnhl3e31qdl)

### Link to Instantiate Game Object

This mode is very similar to [Link to GameObject](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/utility/ovrnodelinker/ovrnodelinkeractiontype.md), the only exception is that the target GameObject is not an object already present in the scene, but a product of a [OvrInstantiate](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/gameobject-interactions/ovrinstantiate.md) Node, which produces the object required for linking.

#### Attributes

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="199.2246866720682">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>OvrInstantiate</td><td><a href="/pages/jhkJ71fukear2mrUl0JR">OvrInstantiate</a></td><td>Node responsible for instantiating objects to be linked.</td></tr><tr><td>LinkType</td><td><a href="/pages/04wlbBiui82mjOsxTpdB">OvrNodeLinkType</a></td><td>Direction of linking process.</td></tr><tr><td>OvrNodeLinks</td><td>[ <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNode</a>, string [ ] ]</td><td>Collection of <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNodes</a>, paired with a list of strings, that correspond to the IDs of the <a href="/pages/yGMRrehcB7LHn0vwCNrs">OvrNodes</a> that exist within the GameObject. </td></tr></tbody></table>

![Example of OvrNodeLinker connecting a GameObject, instantiated with OvrInstantiate, with a set of nodes, in a similar scenario to the previous example. ](/files/u9Z0AAZpqDohlqAZMfuh)


---

# 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.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/utility/ovrnodelinker.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.
