So i have 8 sprites, i want them to randomly select a position from an array then glide over to that position but i want each one to have its own position. I want to remove the positions that have already been used from the array but dont know how.
var random_index = randi_range(0, positions.size()) # get a random index
var random_position = positions.pop_at(random_index) # get and remove the position at index