[Orthello2D] How to only active OT.Touched/OT.Click on ONLY Top level of Depth Sprite

Hi all,

I just use Orthello2D Framework to Develop some games.

And now I’m stuck that I have 2 Sprite in same position one is on depth = 0 (assume is Background) , and another is on depth = -50 for example.

so depth -50 is top , I attach script to receive touch listener on those sprite now I can see it when I touch on Sprite depth=-50, but if I touch it both of sprite is called OT.Touched that I have written earlier.

How to only call on Top sprite if there are same position (but difference Depth)?

Thanks for advance.

Nutthawut.

Please help!

Please Help :frowning: