How can I restart a game?

This question is going to sound very dumb but I am stuck here. I'm a beginner so I honestly have no clue what I'm doing.

Anyways I am trying to develop a maze game where a ball goes around the maze and moves around with up, down, left, and right buttons. I'm trying to program it so that when the ball touches the maze (which is in the canvas) the game restarts. I'm not sure where to start so please help me!

please show your block :innocent:

Here it is.

Use a Button event handler to return your ball to its original coordinates; zero your score variables and your Labels etc. What you want to do is return all variables, ball coordinates and labels to their original start condition.