UNPKG

hytopia

Version:

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

58 lines (28 loc) 805 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; [stopModelAnimations](./server.entity.stopmodelanimations.md) ## Entity.stopModelAnimations() method Stops the provided model animations for the entity. **Signature:** ```typescript stopModelAnimations(animations: string[]): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> animations </td><td> string\[\] </td><td> The animations to stop. </td></tr> </tbody></table> **Returns:** void ## Remarks This method will be ignored and do nothing if the entity is a block entity.