Center to mouseX,Y with storing

Thank you so much for your time! I think I need a new topic for this issue.