Interactable.setAnimEnabled

Sets whether the animation with the given name should be applied to the mesh. True enables the animation and false disables it.

Kind: Function

Environments: Game

Game

interactable:setAnimEnabled( name, enabled )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
interactable Interactable The interactable.
name string The name of the animation.
enabled boolean The boolean enable state.