}//MoveDown

    public void Confirm()
    {
        GetComponent<AudioSource>().Play();
        MoveDown();
        BaseNumber(no);
        foreach (Transform child in GameObject.Find("SingleLineParent").transform)
        {
            GameObject.Destroy(child.gameObject);
        }
        line.Reset();
        CurrentJump = no;
        Multiplication.CurrentJump = CurrentJump;
        Multiplication.StoredTotal = CurrentJump * 1;
        ButtonTest.JumpCount = 0;
        Multiplication.BaseChange = true;
        GreenText.GetComponent<TMP_Text>().text = "Tap " + no + " to start";
        if (no == 5)
        {
            SingleLine.A = GameObject.Find("00").transform.GetChild(3).transform;
            line.line.SetPosition(0, SingleLine.A.position);
            line.line.SetPosition(1, SingleLine.A.position);
            SingleLine.B = GameObject.Find("0"+Multiplication.StoredTotal).transform.GetChild(3).transform;
        }
        else
        {
            SingleLine.A = GameObject.Find("00").transform.GetChild(1).transform;
            SingleLine.B = GameObject.Find("0"+Multiplication.StoredTotal).transform.GetChild(1).transform;
        }

        SingleLine.NewCheckDistance(SingleLine.A, SingleLine.B);
        Pattern.PatternIsOver = false;
        Pattern.Count = 0;
        Star.GetComponent<SpriteRenderer>().color = new Color(1, 1, 1, 0);
        SuperStar.GetComponent<SpriteRenderer>().color = new Color(1, 1, 1, 0);
        Pentagon.GetComponent<SpriteRenderer>().color = new Color(1, 1, 1, 0);
        YOYO.GetComponent<SpriteRenderer>().color = new Color(1, 1, 1, 0);
        Multiplication.TempTens = 0;
        Multiplication.Red = false;
        AgainParent.SetActive(false);
        Pattern.PatternCount = 1;
        Pattern4.text = "";
        ButtonTest.start = true;
    }//Confirm
    }//Update

    #endregion

    #region User Define Methods

    public void GetJumpNumber()
    {
        no = int.Parse(this.name);
        
        if (!ButtonTest.PatternIsRunning)
        {
            ButtonTest.start = true;
            BaseSelected = true;
            no = int.Parse(this.name);
            BaseNumber(no);
            FirstTimeDone = true;
            CurrentJump = no;
            Multiplication.CurrentJump = CurrentJump;
            Multiplication.StoredTotal = CurrentJump * 1;
            ButtonTest.JumpCount = 0;
            Multiplication.BaseChange = true;
            GreenText.GetComponent<TMP_Text>().text = "You start at 0, go around "+no+" and tap the number";
            if (no == 5)
            {
                SingleLine.A = GameObject.Find("00").transform.GetChild(3).transform;
                line.line.SetPosition(0, SingleLine.A.position);
                line.line.SetPosition(1, SingleLine.A.position);
                SingleLine.B = GameObject.Find("0" + Multiplication.StoredTotal).transform.GetChild(3).transform;
            }
            else
            {
                SingleLine.A = GameObject.Find("00").transform.GetChild(1).transform;
                SingleLine.B = GameObject.Find("0" + Multiplication.StoredTotal).transform.GetChild(1).transform;
            }
            SingleLine.NewCheckDistance(SingleLine.A, SingleLine.B);
        }//if First Check
        else
        {
            Up = true;
            BottomText.GetComponent<TMP_Text>().text = "";
        }
        GetComponent<AudioSource>().Play();
    }//GetJumpNumber