How do I select the first GameObject from a GameObject List and then cycle through on key press?

Hey there everyone.
Been struggling for around 40-60 minutes now, trying to figure out how to do this.
I have a few objects in the scene which are tagged as “enemy” and I’ve found them all and put them into a list. I would like to select the first GameObject from that list and make it my “currentlySelected” GameObject. How would I do that?

The answer is probably super simple but I’ve been googling for a while and have had no luck.

This is my code

	void Start () {

public float maxSpeed;
public GameObject[] enemyLocation;
public GameObject currentlySelected;

	// Update is called once per frame
	void Update () {
		//Finding Enemies for Lock-On
		enemyLocation = GameObject.FindGameObjectsWithTag ("enemy");
		if (enemyLocation.Length == 0) {
						Debug.Log ("No Enemies Found");
				} else {
						Debug.Log ("There are " + enemyLocation.Length + " nearby enemies!");
								if(Input.GetKeyDown ("joystick button 5")){
				currentlySelected = enemyLocation

currentlySelected = enemyLocation[0]; ///gets the ‘first’ enemy in the array (at index 0)

Remember, enemyLocation is an array, you have to tell it which part of the array you are looking at. In your above code you’re trying tro assign an array of gameobjects to a single gameobject which should error and yell at you.

Side note: Name your variables better, enemyLocation is misleading, it’s a gameobject, not a location - just good programming practice.