Interactable.getContainer

Returns the container stored in the given index inside the controller

Kind: Function

Environments: Game

Game

interactable:getContainer( index )

Open the full Game reference

Parameters:

Name Type Description
interactable Interactable The interactable.
index (optional) integer The index of the container (default: 0).

Returns:

Type Description
Container The container.