detects if something is a square or not when you are done drawing press space to scan mouse down to draw