<!-- 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; [setFadesIn](./server.entitymodelanimation.setfadesin.md)

## EntityModelAnimation.setFadesIn() method

Sets whether the animation fades in when played or restarted.

**Signature:**

```typescript
setFadesIn(fadesIn: boolean): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

fadesIn


</td><td>

boolean


</td><td>

Whether the animation should fade in when played or restarted.

\*\*Side effects:\*\* Emits `EntityModelAnimationEvent.SET_FADES_IN` when spawned.

\*\*Category:\*\* Entities


</td></tr>
</tbody></table>
**Returns:**

void

