touch event problem.

touch event problem.
0.0 0


I hope that only top layer can be receive touch event.
I want to make modal dialog or modal view.
How can I do?

Plz help me!


disable the touch events on all the other layers? except the top oneā€¦ and enable them when the button on modal dialog is clicked?