Drawing a line using the movement of Mouse

Hi, I am having a problem in a way like this. I simply want a line having a thickness of 2pts and color **red **to be drawn with the movement of mouse.

Simply speaking, a line will be drawn on whatever path the mouse moves on.

Hope you people help me out…

Regards