I have a hopefully easy to solve problem with my program. My program works 99% (haven't tried to break it yet haha) and I'm on to formatting for scaling to multiple platforms etc. There is one small part of my program that is particularly hard to position, however, as I have multiple objects which are not individually always visible. I wrote some example pseudocode for what I want to do, but I was unable to find a lot of helpful syntax to help me fulfill the pseudocode. The pseudocode is as follows (apologies because my pseudocode is probably not formally correct):
FOR each object
IF object required then
Add object to group
ELSE
Hide object
END IF
END FOR
CENTER group
After this I should have a completed minimum viable product for my program, so help is much appreciated. Cheers!