Hello! Thanks for your response, commenting out the sections of code worked, but it still won't allow me to fill multiple squares by clicking and dragging.
And Unity had somehow cleared the build settings, I just had to re-add the menu and game scenes to get it to work.