# Aiming bug

**URL:** <https://forum.makecode.com/t/aiming-bug/41149>\
**Category:** Help\
**Created:** [December 20, 2025, 5:12am UTC](https://forum.makecode.com/t/aiming-bug/41149 "2025-12-20T05:12:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [December 20, 2025, 5:12am UTC](https://forum.makecode.com/t/aiming-bug/41149/1 "2025-12-20T05:12:45Z")

</div>

I want the tip of the gun to be aimed at the cursor

> **[gun night](https://arcade.makecode.com/S37601-43393-87907-96710)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

[ModEdit]  
~~`@WOOFWOOF` I SUMMON THEE ALL HAIL THE DEFEATER OF BUGS~~  
[/ModEdit]

---

<div class="post-metadata">

**Author:** ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)\
**Post date:** [December 20, 2025, 6:25pm UTC](https://forum.makecode.com/t/aiming-bug/41149/2 "2025-12-20T18:25:59Z")

</div>

I conveniently made thie exact thing in a test project 2 months ago.

> **[gun rotate](https://arcade.makecode.com/72960-96524-32512-35473)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![BitBot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bitbot/32/33272_2.png) [@BitBot](https://forum.makecode.com/u/BitBot)\
**Post date:** [December 20, 2025, 6:35pm UTC](https://forum.makecode.com/t/aiming-bug/41149/3 "2025-12-20T18:35:56Z")

</div>

I don’t know if this would help, but, here ya go!

> **[Gun Night](https://arcade.makecode.com/S27963-74024-76836-29667)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is how I usually do it!

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [December 21, 2025, 12:22am UTC](https://forum.makecode.com/t/aiming-bug/41149/4 "2025-12-21T00:22:33Z")

</div>

It just needed to be rotated a little more!

> **[gun night](https://arcade.makecode.com/41903-60025-15013-46951)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [December 21, 2025, 12:26am UTC](https://forum.makecode.com/t/aiming-bug/41149/5 "2025-12-21T00:26:34Z")

</div>

thanks @Bilangus and @BitBot. Now I need some help on how to make the bullet to not appear from the middle of the gun which is empty . [https://arcade.makecode.com/S41759-91117-10142-67637](https://arcade.makecode.com/S41759-91117-10142-67637) control left click to shoot

---

<div class="post-metadata">

**Author:** ![BitBot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bitbot/32/33272_2.png) [@BitBot](https://forum.makecode.com/u/BitBot)\
**Post date:** [December 21, 2025, 2:51am UTC](https://forum.makecode.com/t/aiming-bug/41149/6 "2025-12-21T02:51:32Z")

</div>

Ok! Here ya go!

> **[gun night](https://arcade.makecode.com/S04871-01855-65530-99060)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [December 22, 2025, 12:12am UTC](https://forum.makecode.com/t/aiming-bug/41149/7 "2025-12-22T00:12:32Z")

</div>

its supposed to overlap the crosshair it has a slight offset thanks though
