Basically i want to discriminate between the Touchs on the Screen elements and the Touchs on everything else.
I’m thinking on putting the events on the canvas element. So no matter where you touch i get the event. Then i put events in each UI element, if those trigger, i tell the canvas event to “not do the thing”.
I want to rotate a camera by swiping but i dont want it to rotate if a UI element is being dragged.
But maybe there is a better way, i need advise. Thanks in advance.