Interactable.getAnimDuration
Returns animation duration in seconds.
Kind: Function
Environments: Game
Game
interactable:getAnimDuration( name )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
interactable |
Interactable | The interactable. |
name |
string | The name of the animation. |
Returns:
| Type | Description |
|---|---|
| number | The animation duration. |