I am having a problem regarding coroutines in unity. I am trying to call an IEnumerator function and it is not being called.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class ButtonMovement : MonoBehaviour {

public Button button;
public Sprite sprite;
public Color color=Color.black;
private GameController controller;

public void setSprite()
{

    
    button.image.sprite = sprite; 
   // button.colors = temp;
    button.image.color = controller.getColor();
    button.interactable = false;

    controller.changeColor();
    controller.LibertiesCheck();
    controller.CountIncrease();

     AImove();
}

public void AImove()
{
    StartCoroutine(process());
    controller.AImove();
    controller.changeColor();
    controller.LibertiesCheck();
    controller.CountIncrease();

}

IEnumerator process()
{
    Debug.Log("Entered here");
    yield return new WaitForSeconds(2); 

}

public void setController(GameController controller)
{
    this.controller = controller;

}

}

Try turning off “collapse” in the console.