Thank you very much for helping me! The game works perfectly now. Hopefully, I get a good grade on this. I was wondering whether it would make a difference if I used getOneIntersectingObject instead of isTouching.
Once again, thank you very much for your assistance!
