Allows you to detect the mouse x and mouse y velocity All the code needed is in the “stage”. If you copy the code make sure to give credit.