URL of experiment: Ellen Murphy / Where What When-Online task · GitLab
Description of the problem:
I am trying to run a project where there are four different rooms, and different objects are moved around the four different rooms (with different hiding coordinates for each room). I was experiencing an issue in one of the rooms – in the carnival setting it wouldn’t go past the fourth loop, showing the error:
When converting an object to its numerical form, unable to convert undefined to a number.
Because I was using a single array of hiding coordinates, I opened up individual arrays for each room. Now I am getting the error in the first room: as shown in the screenshot below.
I think the issue is with something in the startup code which I have included below, but I am out of ideas as to what might fix the error. Thanks in advance for your help.