what is e.findIdx and why is it not a function?

(I need help deciphering a cryptic error. Project here)

1 Like

It looks as if you’re trying index the item variable, which is a part of a SpritePos[] (SpritePos array). There’s no comments in the code which makes it hard to understand, so if you could elaborate more and explain certain parts of the code, it would make the debugging process quite a bit.