How to detect touch that is inside the screen but outside of two actors?

So I have a background actor which is basically the entire active screen. Any touch on this should cause a scene change, except when the touch lies within one of two nonoverlapping actors which are also on the screen.

So say actors A and B are on the screen. If either are pressed the scene should not transition. How would I handle this? This was easy with one actor since I could just say if touch is outside of A, but I'm not quite sure how to do this for 2 actors (or in the general case of N actors)

Comments

Sign In or Register to comment.