Interactable.hasAnim

Checks if an animation exists.

Kind: Function

Environments: Game

Game

interactable:hasAnim( name )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
interactable Interactable The interactable.
name string The name of the animation.

Returns:

Type Description
boolean True if exists, false otherwise.