X-Y position of mouse pointer

Hi ,
Is there any way to get the X-Y co-ordinate of mouse pointer when it clicked ?

Hi Subranil,

var mousePointerInfo = java.awt.MouseInfo.getPointerInfo().getLocation();

var x = mousePointerInfo.x; //X Position
var y = mousePointerInfo.y; //Y Position

Hope it Helps.

Thanks a lot ars.

You are my GURU.

subhranild:
Thanks a lot ars.

You are my GURU.

Thanks. :D