Other objects in array

players = GameObject.FindGameObjectsWithTag(“Player”);
if (Input.GetButtonUp(“Fire3”))
{
index++;
}
thisplayer = players[index];

This script allows me to find the currently selected player and then I can operate with it.

The question is, is there a way to define all the other objects in array, which are currently not selected? Something like ‘all objects in array – thisplayer’

Is using List and RemoteAt an option for you (instead of Array)? If players was a List and you did players.RemoteAt(index), that’s what you would have left. If Array is required, you could copy array to list, removeAt, then copy back. Lastly, you could just store the [index] and iterate through players and within the loop do something like

if players != players[thatIndexValueYouSaved] // do stuff