I am currently making a button sprite that when I click on it, it will create another button on top of it. I have done a few methods but the buttons keep getting stacked to each other which means when I click one button, the other button will also be clicked.
I did toggles, setting variables with conditions but none of it works. Is there any solution for this?