How to enable aim with array of cannons

So I have been working on a project wich includes a ship. And on that ship I want to be able to aim and shoot with cannons. But I have not been able to figure out how the best approach is. And also I don’t know what is easier to do because now I have the cannon as a seperate bp pawn wich if I press a button it fires but I cannot aim when I press right mouse button. (Also I need to figure out how when I look at the right side of the boat my camera goes “in aiming mode” on the right and the same I want on the left but I will need to figure that out after that).

If anyone knows how please help me.

Thanks in advance!