# Browser events extension

**URL:** <https://forum.makecode.com/t/browser-events-extension/35539>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [April 10, 2025, 9:35pm UTC](https://forum.makecode.com/t/browser-events-extension/35539 "2025-04-10T21:35:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chronosify](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chronosify/32/10902_2.png) [@chronosify](https://forum.makecode.com/u/chronosify)\
**Post date:** [April 10, 2025, 9:35pm UTC](https://forum.makecode.com/t/browser-events-extension/35539/1 "2025-04-10T21:35:42Z")

</div>

i wish you could lock the cursor in the screen

> **[demo](https://arcade.makecode.com/S94547-14339-76299-02512)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

i made a test for a 3d game using the mouse to look around but its kind of bad when your cursor just leaves the screen sometimes

---

<div class="post-metadata">

**Author:** ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)\
**Post date:** [April 11, 2025, 2:31am UTC](https://forum.makecode.com/t/browser-events-extension/35539/2 "2025-04-11T02:31:55Z")

</div>

that would be tricky to accomplish as the only way would be to have the game screen take up the whole page

---

<div class="post-metadata">

**Author:** ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)\
**Post date:** [April 11, 2025, 5:10pm UTC](https://forum.makecode.com/t/browser-events-extension/35539/3 "2025-04-11T17:10:49Z")

</div>

like krunker or most pc fps games right

---

<div class="post-metadata">

**Author:** ![SouperMediocre1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/soupermediocre1/32/22579_2.png) [@SouperMediocre1](https://forum.makecode.com/u/SouperMediocre1)\
**Post date:** [May 8, 2025, 9:02pm UTC](https://forum.makecode.com/t/browser-events-extension/35539/4 "2025-05-08T21:02:28Z")

</div>

I made a similar test when browser events came out, I don’t remember what I did, but I made it so that you could rotate the cursor in a circle to pan the screen around.
