Interactable.getType

Returns the interactable type of an interactable.

Kind: Function

Environments: Game

Game

interactable:getType(  )

Open the full Game reference

Parameters:

Name Type Description
interactable Interactable The interactable.

Returns:

Type Description
string The interactable's type. (sm.interactable.types)