you’re right that canceling the mouse movement would be helpful.
The idea is that you line up the labyrinths so that the mouse can get to the cheese on the color it can walk on (which is the color of the play button). You can’t move the labyrinths once he starts moving.