Sorry for the slow response, I don't always check messages here.
Turret has pin behavior. When tank is spawned, it spawns a turret and pins it to itself.
Also a variable is set on the turret that has the ID of its parent (the tank UID)
When operating the tank, use event to pick turret that has the variable = tank.UID
Then, use the "rotate toward angle" action. I rotate by 5 degrees at a time and use the angle() function to get angle between the tank and the mouse.