This is a problem I have from time to time and I don't think I don't know what the best solution really is. It feels like it should be possible to do in an easy way, but I have not found a good way.
What I have here are 4 identical objects that overlap and I want to "select" the object that the mouse overlaps, but I only want to select one at a time even though the mouse might actually overlap several at a time. The most "logical" way I find is to insert in the condition to select one object at random, but the problem then is that it selects one object at random every frame so it ends up flickering between all the objects the mouse is overlaping. Is ther any condition instead to do this but keep the same object selected at random and not choose a new one at random at every frame?
If not, what is the best method to do this? I have uploaded an example with the problem