How to make cannon which moves according to mousemove

I search for my friend some tutor how to make a cannon for game which moves ccording to mousemovement.

Can you help me? :puzzle: