Why isn't WaitForSeconds working?

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

public class HideUnhideBtn : MonoBehaviour
    public Button buttonToHide;
    public float comeInTime = 32.5f;

    IEnumerator Start()
        yield return new WaitForSeconds(comeInTime);

I want to hide a button at start, and have it become active again but the WaitForSeconds isn’t working…

Because probably the HinUnhidbtn script is attached to that exact button, and if the button is inactive the coroutine will never continue after the yield instruction, if you need to hide the objkect youcan make the button image transparent and srt interactable to false

Thank you so so much! I spent almost three hours of pulling my hair out to figure out what was wrong. You were right, I had the script attached to the button and all I had to do was attach it to an empty game object. Thanks!