Shape.getInteractable

Returns the Interactable of a shape, if one exists. Otherwise the function will return nil.

Kind: Function

Environments: Game

Game

shape:getInteractable(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
Interactable The interactable belonging to the shape.