How to control actor rotation with mouse?

I want to rotate the energy beam to follow the mouse on screen. Please show pictures if possible.