format
typescript
Animation.Stop(name)class: Animation
description
Stops the currently playing animation clip.
If no animation clip name is specified, it stops all animation clips. Otherwise, it stops the animation clip with the specified name. Stopping an animation clip also rewinds it to the beginning.
parameter
| param_name | type | description |
|---|---|---|
| name | string | The name of the animation clip. |
reture
| type | description |
|---|---|
void |
code example
javascript
