Interactable.getPistons

Returns a table of pistons that an interactable is connected to.

Kind: Function

Environments: Game

Game

interactable:getPistons(  )

Open the full Game reference

Parameters:

Name Type Description
interactable Interactable The interactable.

Returns:

Type Description
table A table of the connected pistons {Joint, ..}.