Object still has touch event even it is under an Object

I have a Touch Object, and a non-touch object

the non-touch object is over the touchable object

like this

A = touchable object

B = non touchable object

=====||

--------||------|
   B     ||   A   |

--------||------|

=====||

If I touch the B part A will not react, but it by pass B and still detects A touchable part, pelase help

That is the default behavior. To solve that, makes B also touchable and adds a “return true” inside its listener.

I’ve been running that thought in my mind, just wondering if is there any other way to make it more easier, but thanks though :slight_smile:

No, Corona automatically passes touches/taps through objects unless  you stop it (by having a listener and returning true)

That is the default behavior. To solve that, makes B also touchable and adds a “return true” inside its listener.

I’ve been running that thought in my mind, just wondering if is there any other way to make it more easier, but thanks though :slight_smile:

No, Corona automatically passes touches/taps through objects unless  you stop it (by having a listener and returning true)