press space key to start use this as a format for your sprites to follow the mouse
i give credit for the code to @28legir01 for the code