So I want when the player presses the left key, the door/gate opens. There are doors constantly spawning in the level, but you can only open the one LEAST recently spawned, so I have the doors in an array. So when you press left, it gets the door at index 0 and opens only THAT door. Idk if that makes sense…
Here you can see what I’m doing:
I’ve been trying to figure out what this stupid error is literally all day. Why can’t I figure something out that looks so simple!