How Can I get the mouse to Cycle Through Animations Each Time I click it? Please Help!

I am trying to get the mouse to play a new animation every time I click it down and when I release it go back to the idle position, How Can I Achieve this? this is as far as I got

       if ( Input.GetButtonDown("Fire1"))
    {

        _animator.SetBool("PunchingLeftJab", true);
    }
    else
    {

       
        _animator.SetBool("PunchingLeftJab", false);

    }

Assuming they’re all bools in the animator, you could create a list or array of strings matching those bools, then create an int that gets added to each time you click and use it to access the index of that array/list.

    string[] animations = { "anim1", "anim2", "anim3" };
    int chosenAnim = 0;

    void Update()
    {
        if (Input.GetButtonDown("Fire1"))
        {
            if (chosenAnim < animations.Length - 1)
                chosenAnim++;
            else
                chosenAnim = 0;
            _animator.SetBool(animations[chosenAnim], true);
        }
        else
        {
            _animator.SetBool(animations[chosenAnim], false);
        }
    }

Edit:
I’d also switch over to using triggers in the animator instead of bools if you’re firing off one time animations that aren’t meant to loop until a condition is changed.
Edit 2:
I realize you asked about cycling instead of selecting an animation at random. I’ve updated the code to go through them in order and reset instead of selecting an animation at random.