Example: Events of overlapping graphic elements trigger individually
A graphic element may lie partially over another graphic element on the screen. Each graphic element can have its own event. Touching a graphic element triggers the event of that graphic element. This is true even when touching the portion of a graphic element that is on top of the other.
In this example, there is a unique event associated with each button. Part of Button B lies on top of Button A.

Press Event | Triggered action |
![]() | Press here to trigger the event associated with Button A. |
![]() | Press here to trigger the event associated with Button B. |
![]() | Press here to trigger the event associated with Button B. |
Provide Feedback