So I have 2 objects that overlay each other. now If I click on it, of course It will have an event to do, but with different action.
problem is here.
here’s what I did:
//Base on return true or not putting return true
Object 1 || Object 2
true || none = object 1 receives the command but 2 doesn’t.
none || true = object 2 receives the command.
true || true = whoever is above receives the command.
none || none = Both receives touch command, but 1 only receives “began” phase.
Thanks in Advance