I finally figured out what the issue is, but not how to fix it. I have a single button that appears (Button_52) but it appears repeatedly in an array when looking at the inventory. When you push any button it creates the information widget but it keeps stacking them. I was able to create a variable that made one of the buttons stop doing this, but how do I tell it to remove the old widget (VehicleInfo_UI) no matter which button is pressed?
Hi @BlackFolio ,
It is stacked because everytime you click the button, you create and then add it to viewport so it will be stacked everytime. You can fix it by storing the created widget in a variable, and prevent it to be created again and added again to the viewport so its only show once.
example:
1 Like