Line "56875"

I was just making a gun game, then I just saw a error which was on a line that I don’t even know


image

if you see a bizarre error, that means that somewhere in your code, there was an error that wasn’t something like a syntax error.

i think you’re using player.clone incorrectly. clone() is a function, so maybe the way to solve this is to change the word “clone” to something like “cl”. it would be easier for more info but this is the best i have so far.

Yes, an error like this means that something seems incorrect

I can see that you’re trying to remove the clone of the player once it touches that object. I’ll
think of that object as obj1, and have you plug in this code for the player in the update script:

if(this.isClone){
if(this.hitTest(obj1)){
this.remove();
}
}

Let me know if this helps or doesn’t work

These errors, more specifically, mean something wrong happened in the wick engine code itself. I’m trying to figure out the best way to fix this, but it’s quite annoying!

:+1: Hope you will fix it! (: