Interactable.hasAnim
Checks if an animation exists.
Kind: Function
Environments: Game
Game
interactable:hasAnim( name )
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. |