Look at mouse C# or Javascript

Hi all,

Im quite begginer in javascript and c# but i want learning… Im now working on 2D rpg game but i don’t know how to do script: look at mouse
Please can someone help me with it?
Thanks,