> 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/mouse-movement-demo.md).

# Mouse Movement Demo

## Mouse Movement Demo

The Mouse Movement Demo shows an AI moving to the mouse's position after a click is made. This also showcases the Custom Wander Type option, through the [Movement Component](/emerald-ai-wiki/emerald-components-required/movement-component.md), that allows users to set the AI's destination through code.

<figure><img src="https://4021441153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv03IiZPaMe8fX49a9MnO%2Fuploads%2FBobwTcHqMev8r7m7IfXz%2FMouseMovementDemo.gif?alt=media&amp;token=dd695546-3051-4618-bb65-87f64e73d3f3" alt=""><figcaption></figcaption></figure>
