How to control a weapon in a socket?

I am currently trying to set up the following system. A boat is movable with the left stick, and a rotating turret is controlled with the right stick. I’ve gotten the boat working fine, and I’ve been able to control the turret correctly when parenting it directly to the boat, but I want to set it up so that the turret is in its own blueprint, and I’m attaching it to a socket, and then controlling it in the socket.

I’ve set up the boat with a socket, and the turret in its own pawn blueprint, and attached the turret to the socket. This all works fine. However, I don’t know how to control the turret from the boat blueprint once its in the socket.

This is my socket set up, and my rotation set up. Right now it only rotates the boat, because I don’t know how to link it to the turret socket.

How do I tell it to control the socket?