I am trying my best to wind down to releasing the nanodemo, but I keep running into these little snags.
The new snag is that I have implemented a magnifier ("use items on each other") where you can view certain things in the inventory up close. It works fine for the most part, except for one thing. If I have a frame with hotspots on it to other frames to look at other parts of an item, if the player then goes from one of those frames and looks at yet another inventory item with the magnifier without fully leaving the one he/she was already in, then there can possibly be an endless loop when trying to go back to the original frame in the game. This doesn't occur often and most of the time the game is non-linear where you can do this, but at just one or two places there is an endless loop.
I've fixed pretty much all of the other loops except the last two. What I'd rather do, though is simply disable the player from accessing another inventory item in the inventory while he or she is already viewing an item with the magnifier.
Is there a simple approach to limit/disable a player from using the magnifier until he/she has fully returned to the original game screen? I know that most likely people do go back to the original screen before looking at another item, but since there is a capability of doing this, I don't want the player to ever encounter an endless loop.
So any limitation code for restricting access to other "use items on each other" features, so it can only be accessed one at a time, would be greatly appreciated.

TIA!