How to rotate a bone using BP?

HI, I have a tank model and I want it to rotate the turret (a bone in the skeleton mesh) when it detects a target. So I would like to do it from the BP: something like, if detects the target->rotate so the gun is pointing towards it.

I know how to do everything except rotate a bone. How is it done?

there’s a ‘pose able skeletal mesh ’ that allows you rotate a bone.