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