# \#menu

**URL:** https://discourse.threejs.org/tag/menu/1168.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [How to avoid PointerLockControls error](https://discourse.threejs.org/t/how-to-avoid-pointerlockcontrols-error/33017)

<div class="topic-metadata">

**Author:** [@digitH](https://discourse.threejs.org/u/digitH)\
**Replies:** 4\
**Last updated:** [September 25, 2022, 7:27am UTC](https://discourse.threejs.org/t/how-to-avoid-pointerlockcontrols-error/33017 "2022-09-25T07:27:35Z")

</div>

Hello! I want to create a pause menu, but I have this error appearing when the player spam clicks to lock the mouse when locking and unlocking the mouse quickly. Uncaught (in promise) DOMException: The user has exited …
