In the game i am creating it is necessary to select a moving object on the screen by touching it. What I found though is that if two or more objects are overlapping each other and you select the top object all 2+ objects that are overlapping are also selected. This creates a problem as the mechanics of my game are only supposed to have one selected at a time.
So imagine 4-5 AI Guys moving back and forth on a platform, you select one just as they are overlapping with another one, and all of them that are overlapping get selected instead of just one.
Would anyone know how to resolve this issue? I have been racking my brain the past few days on it.
Develop games in your browser. Powerful, performant & highly capable.
Figured it out. Just need to look harder.
Condition -> Zorder (category) -> Pick Top/Bottom -> top