<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [SimpleEntityController](./server.simpleentitycontroller.md) &gt; [spawn](./server.simpleentitycontroller.spawn.md)

## SimpleEntityController.spawn() method

Override of the [BaseEntityController.spawn()](./server.baseentitycontroller.spawn.md) method. Starts the set idle animations (if any) when the entity is spawned.

**Signature:**

```typescript
spawn(entity: Entity): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

entity


</td><td>

[Entity](./server.entity.md)


</td><td>

The entity that was spawned.


</td></tr>
</tbody></table>
**Returns:**

void

