I am adding a child when a button is clicked, everything is working fine but it keeps adding a new child every time the button is clicked. How can I prevent this if I only want one child on the stage?
Thanks,
fs_tigre
I am adding a child when a button is clicked, everything is working fine but it keeps adding a new child every time the button is clicked. How can I prevent this if I only want one child on the stage?
Thanks,
fs_tigre
:: Copyright KIRUPA 2024 //--