> For the complete documentation index, see [llms.txt](https://docs.hogwarp.com/hogwarp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hogwarp.com/hogwarp/scripting/server-side/api-documentation/server/world.md).

# World

### Methods

<table data-full-width="true"><thead><tr><th align="right">Name</th><th align="center">Parameters</th><th>Return Type</th><th>Description</th></tr></thead><tbody><tr><td align="right">Spawn&#x3C;T></td><td align="center"></td><td>T?</td><td>Spawn an actor of type T in the world.</td></tr><tr><td align="right">Destroy</td><td align="center">Actor actor</td><td>void</td><td>Destroy a given actor in the world.</td></tr></tbody></table>

### Events

<table data-full-width="true"><thead><tr><th align="right">Name</th><th align="center">Return Type</th><th>Description</th></tr></thead><tbody><tr><td align="right">UpdateEvent</td><td align="center">World.UpdateDelegate?</td><td>Delegate method to run every  World tick.</td></tr></tbody></table>

### Delegates

<table data-full-width="true"><thead><tr><th align="right">Name</th><th align="center">Parameters</th><th>Description</th></tr></thead><tbody><tr><td align="right">UpdateDelegate</td><td align="center">float Delta</td><td></td></tr></tbody></table>
