Hey folks, I am a bit confused on how I do use object instances correctly.
I created 4 buttons in my layout by hand. The buttons are instances.
When the game is running, I want to make some buttons visible, and some invisible when something in the game changes. But I don't really see how I can pick a specific instance (e.g. button instance 2) in a function.
I already read about the system command "for each". I could check if a button instance should be visible with that, but that would run all the time in the background, right? I only want to change visiblity when a certain event or function is called. Is there a way to do that? Am I using instances wrong? Should I make 4 distinct separate buttons that are not instances?