# Get Parent

## Overview

![The Get Parent Node.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-d8828eda4ce79bbb54e63c9bc8959839b517ae80%2Fgetparentupdatedimage.png?alt=media)

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.](https://docs.incari.com/incari-studio/2022.2/objects-and-types/scene-objects#structure-in-a-scene)

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

## Attributes

![The Get Parent Node Attributes.](https://4267723012-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOEts3pBau6LMamSYhGZp%2Fuploads%2Fgit-blob-5e16a03247813d5ec1909228ca3e37ce7ce8d066%2Fgetparentattributes.png?alt=media)

| 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**](https://docs.incari.com/incari-studio/2022.2/toolbox/incari/object/get-children)
* [**Has Children**](https://docs.incari.com/incari-studio/2022.2/toolbox/incari/object/has-children)
