Ho to make a static mesh to roatate where you are looking

this did not work, i realy want a static mesh to rotate usint the axes of the components, not the world’s x,y and z but the blueprint’s