> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2022.2/toolbox/incari/object/get-parent.md).

# Get Parent

## Overview

![The Get Parent Node.](/files/dLRnTBcoWFOFJ3ayRHzF)

The **Get Parent Node** returns the **Object ID** of an **Object's** *parent*. If an **Object** has no explicit *parent* given by the user, the ID of the **Root Object** is returned. In **Incari**, every **Object** has a *parent*, with the **Root Object** being the *parent* of all **Objects** on the highest level.

To learn more about the **Root Object** and **Scene** structure, click [here.](/incari-studio/2022.2/objects-and-types/scene-objects.md#structure-in-a-scene)

[**Scope**](/incari-studio/2022.2/toolbox/overview.md#scopes): **Scene**, **Function**, **Prefab**.

## Attributes

![The Get Parent Node Attributes.](/files/I7vT7QghDXkdP1PU08iQ)

| Attribute   | Type         | Description                                                                                                                |
| ----------- | ------------ | -------------------------------------------------------------------------------------------------------------------------- |
| `Object ID` | **ObjectID** | Sets the *child* **Object** whose *parent* **Object ID** will be returned, if one is not provided in the **Input Socket**. |

## Inputs

| Input             | Type         | Description                                                                |
| ----------------- | ------------ | -------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**    | A standard **Input Pulse**, to trigger the execution of the **Node**.      |
| `Object ID`       | **ObjectID** | Sets the *child* **Object** whose *parent* **Object ID** will be returned. |

## Outputs

| Output             | Type         | Description                                                                                                                            |
| ------------------ | ------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**    | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Parent Object ID` | **ObjectID** | Returns the **ID** of the *parent* **Object**.                                                                                         |

## See Also

* [**Get Children**](/incari-studio/2022.2/toolbox/incari/object/get-children.md)
* [**Has Children**](/incari-studio/2022.2/toolbox/incari/object/has-children.md)
