How would I make a tank cannon aim up and down and turn?

I have a system for missiles, but I don’t know how I would make the cannon aim up and down or turn with WASD.

Enum.Keycode changing its rotation if thats what you mean…?