Shape.getInteractable
Returns the Interactable of a shape, if one exists. Otherwise the function will return nil.
Kind: Function
Environments: Game
Game
shape:getInteractable( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| Interactable | The interactable belonging to the shape. |