# I need help with the browser events extension

**URL:** https://forum.makecode.com/t/i-need-help-with-the-browser-events-extension/38263
**Category:** Help
**Created:** [July 24, 2025, 12:45pm UTC](https://forum.makecode.com/t/i-need-help-with-the-browser-events-extension/38263 "2025-07-24T12:45:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![c00lguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/c00lguy/32/24940_2.png) [@c00lguy](https://forum.makecode.com/u/c00lguy)
#### Post date: [July 24, 2025, 12:45pm UTC](https://forum.makecode.com/t/i-need-help-with-the-browser-events-extension/38263/1 "2025-07-24T12:45:37Z")

</div>

i want to make a sprite follow the mouse

---

<div class="post-metadata">

### Author: ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)
#### Post date: [July 24, 2025, 5:11pm UTC](https://forum.makecode.com/t/i-need-help-with-the-browser-events-extension/38263/2 "2025-07-24T17:11:02Z")

</div>

Make a sprite called mouse, then in an on mouse move loop, set its X and Y values to mouse X and Y, then set it relative to camera. Here’s an example project:

> **[Mouse](https://arcade.makecode.com/S89675-95226-82427-59464)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![c00lguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/c00lguy/32/24940_2.png) [@c00lguy](https://forum.makecode.com/u/c00lguy)
#### Post date: [July 24, 2025, 8:01pm UTC](https://forum.makecode.com/t/i-need-help-with-the-browser-events-extension/38263/3 "2025-07-24T20:01:51Z")

</div>

thanks
