<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [EntityModelAnimation](./server.entitymodelanimation.md) &gt; [restart](./server.entitymodelanimation.restart.md)

## EntityModelAnimation.restart() method

Restarts the entity model animation from the beginning.

**Signature:**

```typescript
restart(): void;
```
**Returns:**

void

## Remarks

Unlike `play()`<!-- -->, this always emits even if the animation is already playing, allowing the animation to restart from the beginning.

\*\*Side effects:\*\* Emits `EntityModelAnimationEvent.RESTART` when spawned.

\*\*Category:\*\* Entities

