# 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](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-optional/events-component) with the [Items Component](https://black-horizon-studios.gitbook.io/emerald-ai-wiki/emerald-components-optional/items-component) API) and plays a mining animation.

<figure><img src="https://4021441153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv03IiZPaMe8fX49a9MnO%2Fuploads%2FvBb09bhpIAY85XLCLZ19%2FWorkingVillagerDemo.gif?alt=media&#x26;token=3a4bd9e6-3df2-4f1f-a415-9ff1176d1cc3" alt=""><figcaption></figcaption></figure>
