UNPKG

hytopia

Version:

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

58 lines (28 loc) 873 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; [startModelLoopedAnimations](./server.entity.startmodelloopedanimations.md) ## Entity.startModelLoopedAnimations() method Starts looped animations for the entity, blending with other animations currently playing. **Signature:** ```typescript startModelLoopedAnimations(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 start. </td></tr> </tbody></table> **Returns:** void ## Remarks This method will be ignored and do nothing if the entity is a block entity.