How to Fix Mouse Drag Rotation in UE5?

I’m trying to rotate an object by dragging the mouse while interacting with another object, but the rotation isn’t responding correctly. Does anyone know the proper Blueprint setup or best approach to achieve smooth drag-to-rotate behavior in Unreal Engine? any tips are appreciated!