My student’s code for isTouching() is correctly included but gives an error message:
Line 38 should run but is giving an error message as seen in the screenshot.
I compared the code to other students’ code and it is identical. I switched from block to text back to block to be sure it was written correctly. It switched from block to text to block and executed the same error each time. I made sure the sprites were correctly spelled in line 38 according to how they were initialized.
This student had a similar error when trying to use a different block in Lesson 17.9:
I tried the same steps but was unable to fix that error as well. Any help is appreciated.