Well firstly in this situation where levels are involved, I would use a separate layout instead, or at least destroy the old level upon transitioning to the new. If I needed to preserve the level to revisit later, I would definitely use a separate layout.
If in the case of a menu and clicking, I usually have the "layer is visible" condition in the menu events.
..........
D. Don't use a layer like this to begin with (ie. destroy and create objects as needed instead of just making them invisible), or move to a different layout instead.
First I have to say, thank you for being incredibly level-headed, taking the time to offer an explanation we could understand and doing so without flexing your vast knowledge. You’re a rare blend and earned my respect (and that of others I’m sure).
Second, when it comes to layers needing to be invisible and/or using tags for multiple layers so objects aren’t clickable versus using a new layout, this is where I’m so confused.
I’m using one layout because in the game, I have objects “growing” (crops with a global variable increased in number until it reaches 100 which means it’s ready for harvest). If I use a second layout, those crops stop growing and are reset when you get back to the layout they’re on. I don’t know how to keep them growing when layout is switched so I just use different layers to display alerts, options and menus.
I really did appreciate your reply and the length provided a lot of information I could follow. Plus, you did it without being condescending! Thanks for the information and I’m hoping you’re willing to offer some insight to using multiple layouts while allowing certain objects to continue to increase in value.
I’d love to use different layouts so that I used invisible layers properly. Heck I’d even use the tagging method you mentioned if I had some guidance.
You provided some great options/solutions and if you’re willing to show how (or throw some links out to those guides that could help us), you’ll further your legendary status.
Thank you again for your time and insight.