Interactable.getSingleParent

Returns the parent Interactable that is connected to an interactable. The parent act as the interactable's input.

Kind: Function

Environments: Game

Game

interactable:getSingleParent(  )

Open the full Game reference

Warning: This method is not allowed for an interactable that allows more than one parent connection.

Parameters:

Name Type Description
interactable Interactable The interactable.

Returns:

Type Description
Interactable The connected parent interactable.