# 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-components-required/movement-component), 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&#x26;token=dd695546-3051-4618-bb65-87f64e73d3f3" alt=""><figcaption></figcaption></figure>
