Hi
Thinking I am going about this the wrong way. I have a main actor on screen which reacts to a tap or touch to screen to animate it. However, I also have a music on / off on screen as well as a pause button.
The trouble I am facing is that if I click the pause button this is detected as a click to the screen and its animated. This was mainly an issue when I had a runtime:addEventListener. So I thought I would add a specific rect which acted as a tap absorber to the main stage and then overlay my specifc buttons on top so that the latter would absorb the tap.
This however doesn’t seem to work as both events are tapped as I assume its because it takes on the same x and y position. Is there a z order to these things or am I over complicating the touch process and some trick with id or name would suppress the click if its not the main absorbing rect.
You help would be very much appreciated as this one is consuming a lot of time and wasted code
J [import]uid: 103970 topic_id: 21086 reply_id: 321086[/import]
[import]uid: 84637 topic_id: 21086 reply_id: 83423[/import]