I was trying to let the plugin read a predefined array by looking for any of its elements like this array[position]. I kept getting an UNDEFINED object instead. Curiously, whenever I left something like array[2] with no index variable involved, it was able to log the result in the console or draw it on screen. I also noticed that using switch(variable) didn't help me at all. I am totally sure I didn't a mistake because I coded it the way I found it on an online tutorial. What's interesting is that the same code worked on the tutorial's run webpage but not on MV 1.6.1...
Is there a way to fix this? 😳?
Is there a way to fix this? 😳?