hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
58 lines (28 loc) • 884 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Entity](./server.entity.md) > [stopModelAnimations](./server.entity.stopmodelanimations.md)
## Entity.stopModelAnimations() method
Stops the provided model animations for the entity.
**Signature:**
```typescript
stopModelAnimations(modelAnimationNames: readonly string[]): void;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
modelAnimationNames
</td><td>
readonly string\[\]
</td><td>
The model animation names to stop.
\*\*Side effects:\*\* May emit `EntityModelAnimationEvent.STOP` for each stopped animation.
\*\*Category:\*\* Entities
</td></tr>
</tbody></table>
**Returns:**
void