# Experimenting with Browser Events

**URL:** https://forum.makecode.com/t/experimenting-with-browser-events/39187
**Category:** Help
**Tags:** extension
**Created:** [September 12, 2025, 12:31pm UTC](https://forum.makecode.com/t/experimenting-with-browser-events/39187 "2025-09-12T12:31:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Buckety](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@Buckety](https://forum.makecode.com/u/Buckety)
#### Post date: [September 12, 2025, 12:31pm UTC](https://forum.makecode.com/t/experimenting-with-browser-events/39187/1 "2025-09-12T12:31:11Z")

</div>

I’m trying to see if I can make a fully omni-directional “gun“. The idea is you click somewhere and a projectile is shot from the sprite in that direction. I’ve figured out how to do it but it’s either rlly slow, imprecise, or when you click too close to the player it flat out breaks. I may make a game with it if someone has a way of it working well but till then it’s just a little question I was asking myself but couldn’t solve.

---

<div class="post-metadata">

### Author: ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)
#### Post date: [September 12, 2025, 12:33pm UTC](https://forum.makecode.com/t/experimenting-with-browser-events/39187/2 "2025-09-12T12:33:15Z")

</div>

Something like this?

> **[Clicky Fire](https://arcade.makecode.com/15606-09320-23577-47898)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

P.S. Uses jwunderl’s sprite-utils. Paste the shortcut below into the extensions URL bar to import the extension.

`jwunderl/arcade-sprite-utils`

---

<div class="post-metadata">

### Author: ![Buckety](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@Buckety](https://forum.makecode.com/u/Buckety)
#### Post date: [September 12, 2025, 12:53pm UTC](https://forum.makecode.com/t/experimenting-with-browser-events/39187/3 "2025-09-12T12:53:38Z")

</div>

Yah that’s exactly what I wanted to do!
