Unit 3, Lesson 22 Error in code...WHY?

My student is getting an error in his code when making a game. I don’t know why, can someone help?

ERROR: Line: 146: TypeError: a.setDefaultCollider is not a function

Can I see the code? But my first guess is the function has not been defined.

I ran the code, but I didn’t get an error. Did the student fix it?

Elizabeth

We fixed it yesterday, we found that he forgot to put " " in. :slight_smile: I couldn’t delete the topic so it stayed here. Thanks for the help, however!

1 Like

Congrats on the successful debugging!