Began the function to process a move event