watch. if it touches the corner you automatically win
@-WhyHyphens- fixed my code while I was making this so I thought I'd put that in here I made the same thing in code.org and the solution was much more apparent