How would I get a variable stored in a Array Collection so I can compare it to what score the player gets in the game?
highScores is an Array collection:
        if (highScores.length < 10 || (get score from 9th set of values Array collection) < playerscore){
            highScores.addItem({Name: playerName, Type: gameType, Score: playerscore});
            highScores.sort(orderScores);
            highScores.pop()
            externalScores.data.highScore = highScores;
        }
				
                        
You can get it by
So the code what you want is maybe like this.