Interactable.getParents

Returns a table of parent interactables that are connected to an interactable. The parents act as the interactable's input.

Kind: Function

Environments: Game

Game

interactable:getParents( flags )

Open the full Game reference

Parameters:

Name Type Description
interactable Interactable The interactable.
flags integer Connection type flags filter. (default to all types)

Returns:

Type Description
table A table of the connected parent interactables {Interactable, ..}.