Get Parent

Overview

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.

Scope: Scene, Function, Prefab.

Attributes

AttributeTypeDescription

Object ID

ObjectID

Sets the child Object whose parent Object ID will be returned, if one is not provided in the Input Socket.

Inputs

InputTypeDescription

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

OutputTypeDescription

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

Last updated