'How to get the position of mouse cursor in vscode

I'm working with a vscode extension development. I need to get the position of user's mouse cursor.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source