Need a playcanvas coder to help me with my game

Ok, so coding on playcanvas is pretty easy if you know what you’re doing. Which is why I recommend if your just a beginner like me wanted to code better I suggest you use https://www.freecodecamp.org/.But anyways coding on playcanvas is easy I just need help making the gun shoot when the gun is clicked and its the object and does damage.