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


#1

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


#2

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


#3

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

Elizabeth


#4

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!


#5

Congrats on the successful debugging!