# Is it possible to use arrows

**URL:** https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758
**Category:** Help
**Created:** [October 4, 2020, 4:07pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758 "2020-10-04T16:07:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![luddep1g](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@luddep1g](https://forum.makecode.com/u/luddep1g)
#### Post date: [October 4, 2020, 4:07pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/1 "2020-10-04T16:07:34Z")

</div>

hey i am trying to make a dungeo game kinda like zelda. where you go trough dungeons and the weapon that you have is going to be a bow but can someone help me how to make a bow/arrows.

---

<div class="post-metadata">

### Author: ![UnderwaterAstronaut](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/underwaterastronaut/32/2228_2.png) [@UnderwaterAstronaut](https://forum.makecode.com/u/UnderwaterAstronaut)
#### Post date: [October 4, 2020, 6:05pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/2 "2020-10-04T18:05:10Z")

</div>

If you mean the pixel art, i can try to make one and send it! but if you mean the coding on how to shoot them, you’ll have to make a projectile sprite and there should be some tutorials on the makecode youtube channel or you can look up how to make projectiles on this forum!

---

<div class="post-metadata">

### Author: ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)
#### Post date: [October 5, 2020, 10:23pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/3 "2020-10-05T22:23:50Z")

</div>

@luddep1g  
Perhaps if you share your game, I can take a look at what you are trying to achieve.

---

<div class="post-metadata">

### Author: ![luddep1g](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@luddep1g](https://forum.makecode.com/u/luddep1g)
#### Post date: [October 16, 2020, 8:14am UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/4 "2020-10-16T08:14:16Z")

</div>

[https://makecode.com/\_9phHrdEHkdHL](https://makecode.com/_9phHrdEHkdHL) sorry that i took so long

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 16, 2020, 1:39pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/5 "2020-10-16T13:39:50Z")

</div>

When you said arrows, I thought you meant arrow keys. I know how to help with the shooting in different directions.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/da70382ce42aedf1634e3231ca3c4f90e445b512.png)  
This is something I learned from one of the MakeCode members. I think it was @richard.  
I can’t send the link since it wont let me because somebody has opened the project already. Good luck!!

---

<div class="post-metadata">

### Author: ![cosmoscowboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cosmoscowboy/32/1718_2.png) [@cosmoscowboy](https://forum.makecode.com/u/cosmoscowboy)
#### Post date: [October 16, 2020, 8:03pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/6 "2020-10-16T20:03:44Z")

</div>

Although this diverges on what @luddep1g is trying to ask…

On each of the controller ‘arrow key’ events, you could store an number in a variable such as ‘direction’. 0, 1, 2, 3 (up, right, down, left); like moving in a clockwise direction. Then in the ‘A’ button pressed event you check for those numeric values.

---

<div class="post-metadata">

### Author: ![Dreadmask197](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dreadmask197/32/10494_2.png) [@Dreadmask197](https://forum.makecode.com/u/Dreadmask197)
#### Post date: [October 16, 2020, 10:21pm UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/7 "2020-10-16T22:21:22Z")

</div>

You are thinking with numerical values and storing them into one variable. Then on the `on A button pressed` block, you can do an `if statement` and do variable = 0, 1, 2, or 3. Depends on what they press. I think I’ve seen that method before. I’ve used it before when I was following the Sucromon tutorial and boy that took me about 2 weeks to finish. Nice and fun

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [December 19, 2020, 4:41am UTC](https://forum.makecode.com/t/is-it-possible-to-use-arrows/3758/8 "2020-12-19T04:41:45Z")

</div>

I would use the darts extension, for the arrow only. The character would have the bow while the arrow is the dart.
