Interactable.getChildren

Returns a table of child interactables that an interactable is connected to. The children listen to the interactable's output.

Kind: Function

Environments: Game

Game

interactable:getChildren( flags )

Open the full Game reference

Parameters:

Name Type Description
interactable Interactable The interactable.
flags integer Connection type flags filter. (defaults to all types except for sm.interactable.connectionType.bearing and sm.interactable.connectionType.steering (for backwards compability))

Returns:

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