only works while your mouse pointer is on the stage. no credit needed if you use this. the dot is meant to visualize it, as it will move according to the mouse x speed and mouse y speed variables ive noticed that the dot becomes more accurate to where your mouse pointer is the more you move it around, and it still works when youre mouse pointer stops hovering over the stage then goes back, surprising me.