In line 94, there is a bug saying “Is touching is not a function”. Can anyone debug this?
Here is the code:
Between lines 78 & 97, the code is attempting to redefine not just Car4, but also car3 as a random number (and no longer a sprite).
I think you are missing. the .x and .y notation on all of the random number lines between 78 & 97.
Good luck!
Mike
https://studio.code.org/projects/gamelab/LQuSovvJ5_4mOMLmscPUcSDlpfg_eVNsBf7jjH-3Iuo
Mrs. Kling-Ortiz
KMS STEM Lab, Computer Science, and Computer Applications Teacher
Room 901 and Room 603
I did find the source of the error … if you didn’t see it, I did post what I found above.
thanks,
Mike
Yes, that looks like the issue. I will forward this to my student. Thanks!