To stop Wilson when he appears in the hall way you must quickly press the red button which activated the projector and temporarily blinds him. The camera is the blue rectangle at the bottom of the screen.
This is my first game using Scratch.