how do i make a character shoot projectiles?

i wanna make my character shoot things! how can i do this?

to trigger this use space bar or whatever so if u use spacebar go key-emit

i know how

look at my game and I have a bundle it’s called fire ball

the game is:https://flowlab.io/game/view/448888