UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

54 lines (26 loc) 839 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Entity](./server.entity.md) &gt; [stopAllModelAnimations](./server.entity.stopallmodelanimations.md) ## Entity.stopAllModelAnimations() method Stops all looped and oneshot animations for the entity, optionally excluded the provided animations from stopping. **Signature:** ```typescript stopAllModelAnimations(excludedAnimations?: string[]): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> excludedAnimations </td><td> string\[\] </td><td> _(Optional)_ The animations to exclude from being stopped. </td></tr> </tbody></table> **Returns:** void