> For the complete documentation index, see [llms.txt](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/getting-started/included-demo-scenes/working-villager-demo.md).

# Working Villager Demo

## Working Villager Demo

The Working Villager Demo shows an AI randomly wandering between preset waypoints. When the AI arrives at each waypoint, it enables its pickaxe (set through [Events Component](/emerald-ai-wiki/emerald-components-optional/events-component.md) with the [Items Component](/emerald-ai-wiki/emerald-components-optional/items-component.md) API) and plays a mining animation.

<figure><img src="/files/mf6kKVN627sC2PDGRNBA" alt=""><figcaption></figcaption></figure>
