To make use of our generated maze, we will need to include a character the player can control. We'll use the default Scratch cat as the protagonist and add all the required control script to make it move through the maze.
If we haven't left it on the stage from the start, we have to add the Scratch cat as a new sprite as shown in the following steps:
The Scratch cat will be loaded for use in the game. Next, we will add a script to it to make it interactively controlled by the player.
Let's first set up the broadcasts that will trigger the cat sprite to take proper actions. We need ...